FileSystemExtensions
Static members
Static member | Description |
CreateDirectory(dirInfo)
Signature: dirInfo:DirectoryInfo -> unit
|
Recursively create directory |
DeleteFiles(di, searchPattern)
Signature: (di:DirectoryInfo * searchPattern:string) -> int
|
Delete files in a folder that are like the searchPattern, don't include subfolders. |
DeleteFiles(...)
Signature: (di:DirectoryInfo * searchPattern:string * includeSubdirs:bool) -> int
|
Delete files in a folder that are like the searchPattern |
GetDirectoryPath(filePath)
Signature: filePath:string -> string
|
|
GetParentDirectoryPath(...)
Signature: (folderPath:string * levels:int) -> string
|
|
GetParentDirectoryPath(folderPath)
Signature: folderPath:string -> string
|
|
GetSize(dir)
Signature: dir:DirectoryInfo -> int64
|
|
MoveTo(...)
Signature: (fileInfo:FileInfo * destFileName:string * renameWhenExists:bool) -> unit
|
Move current instance and rename current instance when needed |