Module vibe.core.file

File handling.

Functions

Function name Description
copyFile Copies a file.
createDirectory Creates a new directory.
createTempFile Creates and opens a temporary file for writing.
existsFile Checks if a file exists
getFileInfo Stores information about the specified file/directory into 'info'
listDirectory Enumerates all files in the specified directory.
moveFile Moves or renames a file.
openFile Opens a file stream with the specified mode.
removeFile Removes a file
watchDirectory Starts watching a directory for changes.
watchDirectory

Interfaces

Interface name Description
DirectoryWatcher Interface for directory watcher implementations.
FileStream Accesses the contents of a file as a stream.

Structs

Struct name Description
DirectoryChange Describes a single change in a watched directory.
FileInfo Contains general information about a file.

Enums

Enum name Description
DirectoryChangeType Specifies the kind of change in a watched directory.
FileMode Specifies how a file is manipulated on disk.

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.