of
suspend fun <Path> of(path: Path, entries: List<FileSystemEntry>? = null, fs: FileSystemProvider.ReadOnly<Path>): FileSystemEntry.Folder?(source)
Creates a Folder from a filesystem path.
Return
Folder if the path exists and is a directory, otherwise null
Parameters
Path
the provider's path type
path
the directory path
entries
child entries for this folder
fs
the filesystem provider
Throws
IOException
if I/O error occurs while accessing filesystem