Record: FileInfo

Metadata for newly-added files.

Closed record

Fields

  • path string
  • Relative file path for a newly-added file

  • size int
  • Size of the file

  • lastModifiedTimestamp int
  • Last-modified timestamp of the file in UNIX Epoch time

  • name string
  • File name

  • isFolder boolean
  • true if the file is a folder

  • isFile boolean
  • true if the file is a file

  • pathDecoded string
  • Normalized absolute path of this file within its file system

  • extension string
  • Extension of the file name

  • publicURIString string
  • Receiver as a URI String for public display

  • fileType string
  • Type of the file

  • isAttached boolean
  • true if the fileObject is attached

  • isContentOpen boolean
  • true if someone reads/writes from/to this file

  • isExecutable boolean
  • true if this file is executable

  • isHidden boolean
  • true if this file is hidden

  • isReadable boolean
  • true if this file can be read

  • isWritable boolean
  • true if this file can be written

  • depth int
  • Depth of the file name within its file system

  • scheme string
  • URI scheme of the file

  • uri string
  • Absolute URI of the file

  • rootURI string
  • Root URI of the file system in which the file exists

  • friendlyURI string
  • A "friendly path" is a path, which can be accessed without a password