filesystem_models
LucidLink Python Library - Filesystem Type Definitions
Types for filesystem entries, sizes, and statistics.
- class lucidlink.filesystem_models.DirEntry(name: str, size: int, type: str, file_id: str, file_id_external: int, ctime: int, mtime: int)[source]
Bases:
objectRepresents a file or directory entry in the filesystem.
Returned by
Filesystem.read_dir()andFilesystem.get_entry().- ctime: int
Creation time (Unix timestamp).
- file_id: str
Unique file identifier.
- file_id_external: int
External file identifier.
- mtime: int
Last modification time (Unix timestamp).
- name: str
Name of the file/directory (without path).
- size: int
Size in bytes (0 for directories).
- type: str
Entry type string (
"file","dir","link","unknown").
- class lucidlink.filesystem_models.FilespaceSize(entries: int, data: int, storage: int, external_files_size: int, external_files_count: int)[source]
Bases:
objectFilespace size information.
Returned by
Filesystem.get_size().- data: int
Size of file data in bytes.
- entries: int
Size of metadata entries in bytes.
- external_files_count: int
Number of external (Connect) files.
- external_files_size: int
Size of external (Connect) files in bytes.
- storage: int
Total storage used in bytes.
- class lucidlink.filesystem_models.FilespaceStatistics(file_count: int, directory_count: int, symlink_count: int, entries_size: int, data_size: int, storage_size: int, external_files_size: int, external_files_count: int)[source]
Bases:
objectFilespace statistics.
Returned by
Filesystem.get_statistics().- data_size: int
Size of file data in bytes.
- directory_count: int
Number of directories in the filespace.
- entries_size: int
Size of metadata entries in bytes.
- external_files_count: int
Number of external (Connect) files.
- external_files_size: int
Size of external (Connect) files in bytes.
- file_count: int
Number of files in the filespace.
- storage_size: int
Total storage used in bytes.
- symlink_count: int
Number of symbolic links in the filespace.