- Directory <RT>
- create (string path)
- delete (string path, bool recursive = true)
- getParent (string path)
- exists (string path)
- setCreationTime (string path, DateTime creationTime)
- setCreationTimeUtc (string path, DateTime creationTimeUtc)
- getCreationTime (string path)
- getCreationTimeUtc (string path)
- setLastWriteTime (string path, DateTime lastWriteTime)
- setLastWriteTimeUtc (string path, DateTime lastWriteTimeUtc)
- getLastWriteTime (string path)
- getLastWriteTimeUtc (string path)
- setLastAccessTime (string path, DateTime lastAccessTime)
- setLastAccessTimeUtc (string path, DateTime lastAccessTimeUtc)
- getLastAccessTime (string path)
- getLastAccessTimeUtc (string path)
- enumerateDirectories (string path)
- enumerateDirectories (string path, string searchPattern)
- enumerateDirectories (string path, string searchPattern, SearchOption searchOption)
- enumerateFiles (string path)
- enumerateFiles (string path, string searchPattern)
- enumerateFiles (string path, string searchPattern, SearchOption searchOption)
- enumerateFileSystemEntries (string path)
- enumerateFileSystemEntries (string path, string searchPattern)
- enumerateFileSystemEntries (string path, string searchPattern, SearchOption searchOption)
- getRoot (string path)
- current
- setCurrent (string path)
- move (string sourceDirName, string destDirName)
- logicalDrives
- File <RT>
- copy (string fromPath, string toPath, bool overwrite = false)
- appendAllLines (string path, IEnumerable<string> contents)
- readAllLines (string path)
- writeAllLines (string path, Seq<string> lines)
- readAllText (string path)
- readAllBytes (string path)
- writeAllText (string path, string text)
- writeAllBytes (string path, byte[] data)
- delete (string path)
- exists (string path)
- openText (string path)
- createText (string path)
- appendText (string path)
- openRead (string path)
- open (string path, FileMode mode)
- open (string path, FileMode mode, FileAccess access)
- openWrite (string path)
- Stream <RT>
- TextRead <RT>
property Eff<RT, Seq<string>> logicalDrives Source #
Get the logical drives
method Eff<RT, Unit> setCreationTime (string path, DateTime creationTime) Source #
Set the directory creation time
method Eff<RT, Unit> setCreationTimeUtc (string path, DateTime creationTimeUtc) Source #
Set the directory creation time
method Eff<RT, DateTime> getCreationTime (string path) Source #
Get the directory creation time
method Eff<RT, DateTime> getCreationTimeUtc (string path) Source #
Get the directory creation time
method Eff<RT, Unit> setLastWriteTime (string path, DateTime lastWriteTime) Source #
Set the directory last write time
method Eff<RT, Unit> setLastWriteTimeUtc (string path, DateTime lastWriteTimeUtc) Source #
Set the directory last write time
method Eff<RT, DateTime> getLastWriteTime (string path) Source #
Get the directory last write time
method Eff<RT, DateTime> getLastWriteTimeUtc (string path) Source #
Get the directory last write time
method Eff<RT, Unit> setLastAccessTime (string path, DateTime lastAccessTime) Source #
Set the directory last access time
method Eff<RT, Unit> setLastAccessTimeUtc (string path, DateTime lastAccessTimeUtc) Source #
Set the directory last access time
method Eff<RT, DateTime> getLastAccessTime (string path) Source #
Get the directory last access time
method Eff<RT, DateTime> getLastAccessTimeUtc (string path) Source #
Get the directory last access time
method Eff<RT, Seq<string>> enumerateDirectories (string path) Source #
Enumerate directories
method Eff<RT, Seq<string>> enumerateDirectories (string path, string searchPattern) Source #
Enumerate directories
method Eff<RT, Seq<string>> enumerateDirectories (string path, string searchPattern, SearchOption searchOption) Source #
Enumerate directories
method Eff<RT, Seq<string>> enumerateFiles (string path) Source #
Enumerate files
method Eff<RT, Seq<string>> enumerateFiles (string path, string searchPattern) Source #
Enumerate files
method Eff<RT, Seq<string>> enumerateFiles (string path, string searchPattern, SearchOption searchOption) Source #
Enumerate files
method Eff<RT, Seq<string>> enumerateFileSystemEntries (string path) Source #
Enumerate file system entries
method Eff<RT, Seq<string>> enumerateFileSystemEntries (string path, string searchPattern) Source #
Enumerate file system entries
method Eff<RT, Seq<string>> enumerateFileSystemEntries (string path, string searchPattern, SearchOption searchOption) Source #
Enumerate file system entries
method Eff<RT, Unit> setCurrent (string path) Source #
Set the current directory
param | path |
File IO
method Eff<RT, Unit> copy (string fromPath, string toPath, bool overwrite = false) Source #
Copy file
type | RT | Runtime |
param | fromPath | Source path |
param | toPath | Destination path |
param | overwrite | Overwrite if the file already exists at the destination |
returns | Unit |
method Aff<RT, Unit> appendAllLines (string path, IEnumerable<string> contents) Source #
Append lines to the end of the file provided
method Aff<RT, Seq<string>> readAllLines (string path) Source #
Read all of the lines from the path provided
method Aff<RT, Unit> writeAllLines (string path, Seq<string> lines) Source #
Write all of the lines to the path provided
method Aff<RT, string> readAllText (string path) Source #
Read all of the text from the path provided
method Aff<RT, byte[]> readAllBytes (string path) Source #
Read all of the data from the path provided
method Aff<RT, Unit> writeAllText (string path, string text) Source #
Write all of the text to the path provided
method Aff<RT, Unit> writeAllBytes (string path, byte[] data) Source #
Write all of the data to the path provided
method Eff<RT, TextWriter> createText (string path) Source #
Create a new text file to stream to
method Eff<RT, TextWriter> appendText (string path) Source #
Return a stream to append text to
property Pipe<RT, TextReader, string, Unit> readLine Source #
Open a text file and streams the lines through the pipe