Skip to main content

Module file

Module file 

Source
Expand description

File resource types and methods mirroring the JS SDK’s resources/file.ts.

Structs§

FileContent
The content of a file as returned by the API.
FileInfo
Information about a single file.
FileListParams
Query parameters for listing files.
FileNode
A node in a directory listing returned by GET /file.
FilePatch
A structured patch describing changes between two file versions.
FilePatchHunk
A single hunk in a structured patch.
FileReadParams
Query parameters for reading a file.
FileResource
Accessor for the /file endpoints.

Enums§

FileContentType
The content type of a file.
FileNodeType
The type of a node in a directory listing.
FileStatus
The status of a file in the project.

Type Aliases§

FileStatusResponse
Response type for the file status endpoint.