FileSystemInfo

Functions and values

Function or valueDescription
FileSystemInfo.ofPath(path)
Signature: path:string -> FileSystemInfo

Creates a FileInfo or a DirectoryInfo for the given path

FileSystemInfo.setReadOnly(...)
Signature: readOnly:bool -> items:seq<string> -> unit

Sets all given files or directories readonly.

Active patterns

Active patternDescription
FileSystemInfo.( |File|Directory| )(...)
Signature: fileSysInfo:FileSystemInfo -> Choice<FileInfo,(DirectoryInfo * IEnumerable<FileSystemInfo>)>

Active pattern which discriminates between files and directories.