Import std.io.vfs
FolderSource
class
Public Final Class FolderSource Implements VfsSource
A folder on the disk as a source, which reads it as it's asked, so it sees what changes in it. Nothing outside the folder is in it: by Windows' rules, a name with a ':' in it, which would be a drive or a file's stream, isn't there. Its root is a folder, empty while the folder isn't there or is a file. It's Final, so a Vfs's Async reads of it read what its Read does; a source that changes what a folder's files read as wraps one.
-
The folder on the disk it reads.
-
A FolderSource of
folder. -
The bytes of the file at
pathin the folder, or Null when there's no file there. Throws the IOError reading it does for another reason. -
Whether
pathin the folder is a file or a folder, or Null when nothing is there. -
The names of what's in the folder at
pathin the folder, each with whether it's a file or a folder, or Null when there's no folder there.
Report an issue with this page or with FutureBlitz on GitHub.