FileSystem
This module contains a file pattern globbing implementation.
Nested types and modules
Type | Description |
FileIncludes
|
Internal representation of a file set.
|
Functions and values
Function or value | Description |
( -- ) x pattern
Signature: x:FileIncludes -> pattern:string -> FileIncludes
|
Exclude operator
|
( !! ) x
Signature: x:string -> FileIncludes
|
Includes a single pattern and scans the files - !! x = AllFilesMatching x
|
( !+ ) x
Signature: x:string -> FileIncludes
|
Include prefix operator
|
( ++ ) x pattern
Signature: x:FileIncludes -> pattern:string -> FileIncludes
|
Add Include operator
|
AllFilesMatching x
Signature: x:string -> FileIncludes
|
Includes a single pattern and scans the files - !! x = AllFilesMatching x
|
findToolFolderInSubPath (...)
Signature: toolname:string -> defaultPath:string -> string
|
Looks for a tool in all subfolders - returns the folder where the tool was found.
|
findToolInSubPath toolname defaultPath
Signature: toolname:string -> defaultPath:string -> string
|
Looks for a tool first in its default path, if not found in all subfolders of the root folder - returns the tool file name.
|
Include x
Signature: x:string -> FileIncludes
|
Include files
|
Log message files
Signature: message:string -> files:seq<string> -> unit
|
Logs the given files with the message.
|
Scan files
Signature: files:'?8165 -> '?8165
Type parameters: '?8165
|
Lazy scan for include files.
Will be processed at the time when needed.
|
ScanImmediately includes
Signature: includes:seq<'?8167> -> '?8167 list
Type parameters: '?8167
|
Scans immediately for include files - all matching files will be memoized.
|
SetBaseDir dir fileIncludes
Signature: dir:string -> fileIncludes:FileIncludes -> FileIncludes
|
Sets a directory as baseDirectory for fileIncludes.
|