INTERFACE

FileInfo

Describes a file in a filesystem, regardless of whether the filesystem is virtualized or realized (OS).

  • interface FileInfo {
  • # The extension of the file.
  • extension: String!
  • # The name of the file.
  • name: String!
  • # The path of the file on the realized operating system.
  • osPath: OSFilePath!
  • # The last modified time of the file, in UTC.
  • lastModifiedTime: DateTime!
  • # The creation time of the file, in UTC.
  • createdTime: DateTime!
  • # The size of the file, in bytes.
  • size: Int!
  • }