Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Operators instead

FileSystem

This module contains a file pattern globbing implementation.

Nested types and modules

TypeDescription
FileIncludes
OBSOLETE

Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Operators instead

Internal representation of a file set.

Functions and values

Function or valueDescription
( -- ) x pattern
Signature: x:FileIncludes -> pattern:string -> FileIncludes
Attributes:
[<Obsolete("Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Operators instead")>]
OBSOLETE

Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Operators instead

Exclude operator

( !! )(x)
Signature: x:string -> FileIncludes
Attributes:
[<Obsolete("Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Operators instead")>]
OBSOLETE

Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Operators instead

Includes a single pattern and scans the files - !! x = AllFilesMatching x

( ++ ) x pattern
Signature: x:FileIncludes -> pattern:string -> FileIncludes
Attributes:
[<Obsolete("Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Operators instead")>]
OBSOLETE

Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Operators instead

Add Include operator

defaultBaseDir
Signature: string
findToolFolderInSubPath(...)
Signature: toolname:string -> defaultPath:string -> string
Attributes:
[<Obsolete("Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Tools instead")>]
OBSOLETE

Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Tools instead

Looks for a tool in all subfolders - returns the folder where the tool was found.

findToolInSubPath toolname defaultPath
Signature: toolname:string -> defaultPath:string -> string
Attributes:
[<Obsolete("Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Tools instead")>]
OBSOLETE

Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Tools instead

Looks for a tool first in its default path, if not found the in ./packages/ and then in all subfolders of the root folder - returns the tool file name.

Include(x)
Signature: x:string -> FileIncludes
Attributes:
[<Obsolete("Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Operators instead")>]
OBSOLETE

Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Operators instead

Include files

SetBaseDir dir fileIncludes
Signature: dir:string -> fileIncludes:FileIncludes -> FileIncludes
Attributes:
[<Obsolete("Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Operators instead")>]
OBSOLETE

Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Operators instead

Sets a directory as baseDirectory for fileIncludes.