INTERFACE

OSDirectoryContents

Describes the contents of a directory in the realized, OS-dependent file system.

  • interface OSDirectoryContents {
  • # The root directory.
  • root: OSDirectoryInfo
  • # The files contained in this directory.
  • files: [OSFileInfo!]!
  • # The child directories contained in this directory.
  • directories: [OSDirectoryInfo!]!
  • # The number of child directories contained in this directory.
  • directoryCount: Int!
  • # The number of child files contained in this directory.
  • fileCount: Int!
  • # Fetches installables for this directory, searching all top level files and
  • # directories,not including the current directory itself.
  • #
  • # Arguments
  • # platformId: The platform to look up installables for.
  • installables(platformId: PlatformId!): [Installable!]!
  • }