GraphQL - How to get files list status: added or modified

How can I get files list from a specific folder in GitHub which include the file text and status (added or modified) using GraphQL?

Below query that returns the file content.
How can I get the file status: added or modified? Can it be in the same query?

{
  repository(owner: "<owner>", name: "<name>") {
    folder: object(expression: "<branch>:<path>") {
      ... on Tree {
        entries {
          oid
          object {
            ... on Blob {
              text
              commitUrl
            }
          }
        }
      }
    }
  }
}

 

I’m not sure what you mean by “file status” in this context. GitHub’s GraphQL API will only allow you to see the state of the repository as it exists on GitHub, not on your local computer. Because the state of the repository on GitHub only contains completed commits, the file status can’t be “added” or “modified” like it can be on your local machine.

Please let me know if I’m misunderstanding what you mean.