FileObject Data Type

The FileObject represents a file or a directory in a repository.

Available Since
1.5
Properties
name data type description
description string file description
directory boolean directory indicator
lastModified number last modified date
length number file length
name string filename
path string file path
subrepository SubRepository sub repository informations

Example

{
  "description" : "...",
  "directory" : true,
  "lastModified" : 12345,
  "length" : 12345,
  "name" : "...",
  "path" : "...",
  "subrepository" : {
    "browser-url" : "...",
    "repository-url" : "...",
    "revision" : "..."
  }
}