Package-level declarations
Types
Functions
Link copied to clipboard
suspend fun <Path> buildFileEntry(fs: FileSystemProvider.ReadOnly<Path>, path: Path, metadata: FileMetadata): FileSystemEntry.File
Creates a File from the path and metadata without loading file content.
Link copied to clipboard
suspend fun <Path> buildFileSize(fs: FileSystemProvider.ReadOnly<Path>, path: Path, contentType: FileMetadata.FileContentType? = null): List<FileSize>
Creates FileSize representations for the given file.
Link copied to clipboard
suspend fun <Path> buildFileSystemEntry(fs: FileSystemProvider.ReadOnly<Path>, path: Path, metadata: FileMetadata): FileSystemEntry
Creates a FileSystemEntry (File or Folder) based on the metadata type.
Link copied to clipboard
fun <Path> buildFolderEntry(fs: FileSystemProvider.ReadOnly<Path>, path: Path, metadata: FileMetadata, entries: List<FileSystemEntry>?): FileSystemEntry.Folder
Creates a Folder from the path, metadata, and optional entries.