FileMetadata

data class FileMetadata(val type: FileMetadata.FileType, val hidden: Boolean, val content: FileMetadata.FileContent)(source)

Represents metadata associated with a file or directory.

Constructors

Link copied to clipboard
constructor(type: FileMetadata.FileType, hidden: Boolean, content: FileMetadata.FileContent)

Types

Link copied to clipboard

Enum representing the nature of a file's content.

Link copied to clipboard

Represents the type of a file in the context of file metadata.

Properties

Link copied to clipboard

The type of content stored in the file.

Link copied to clipboard

A flag indicating whether the file or directory is hidden.

Link copied to clipboard
@SerialName(value = "content_type")
val type: FileMetadata.FileType

The type of the file, indicating whether it is a file or a directory.