INTERFACE

DirectoryContents

Describes the contents of a directory as an edge.

  • interface DirectoryContents {
  • # The root directory.
  • root: DirectoryInfo
  • # The files contained in this directory.
  • files: [FileInfo!]!
  • # The child directories contained in this directory.
  • directories: [DirectoryInfo!]!
  • # The number of child directories contained in this directory.
  • directoryCount: Int!
  • # The number of child files contained in this directory.
  • fileCount: Int!
  • }