Share feedback
Answers are generated based on the documentation.

Experimental

Schema

FileType

Type: string

FileType classifies the object at a path.

Values: unspecified: unspecified means the backend has not classified the object. Stat and List always classify it. regular: regular is a regular file. directory: directory is a directory. symlink: symlink is a symbolic link that could not be resolved to a target inside the jail. other: other is a socket, FIFO, device, or other non-regular, non-directory, non-symlink object.

All schema constraints and annotations
{
  "description": "FileType classifies the object at a path.\n\nValues:\nunspecified: unspecified means the backend has not classified the object. Stat and List always classify it.\nregular: regular is a regular file.\ndirectory: directory is a directory.\nsymlink: symlink is a symbolic link that could not be resolved to a target inside the jail.\nother: other is a socket, FIFO, device, or other non-regular, non-directory, non-symlink object.",
  "enum": [
    "unspecified",
    "regular",
    "directory",
    "symlink",
    "other"
  ],
  "title": "FileType",
  "type": "string"
}