buildFileEntry
suspend fun <Path> buildFileEntry(fs: FileSystemProvider.ReadOnly<Path>, path: Path, metadata: FileMetadata): FileSystemEntry.File(source)
Creates a File from the path and metadata without loading file content.
Return
a File with metadata and no content (Content.None)
Parameters
Path
the filesystem path type
fs
the filesystem provider used to access file attributes
path
the file path to describe
metadata
metadata for the file at path