buildFolderEntry
fun <Path> buildFolderEntry(fs: FileSystemProvider.ReadOnly<Path>, path: Path, metadata: FileMetadata, entries: List<FileSystemEntry>?): FileSystemEntry.Folder(source)
Creates a Folder from the path, metadata, and optional entries.
Return
a Folder with metadata and optional children
Parameters
Path
the filesystem path type
fs
the filesystem provider used to access directory attributes
path
the directory path to describe
metadata
metadata for the directory at path
entries
child entries (files and folders), or null if not loaded