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

FileInfo

Functions and values

Function or valueDescription
FileInfo.contentIsEqualTo first second
Signature: first:FileInfo -> second:FileInfo -> bool

Checks if the two files are byte-to-byte equal.

FileInfo.ofPath(path)
Signature: path:string -> FileInfo

Creates a FileInfo for the given path.

Active patterns

Active patternDescription
FileInfo.( |FullName| )(f)
Signature: f:FileInfo -> string

Active Pattern for determining file name.

FileInfo.( |NameSections| )(f)
Signature: f:FileInfo -> string * string * string

Active Pattern for determining FileInfoNameSections.