OBSOLETE
FAKE0001 Use `open Fake.IO` and `FileSystem.Shell`
FileUtils
Shell-like functions. Similar to Ruby's FileUtils.
Functions and values
Function or value | Description |
cd(path)
Signature: path:string -> unit
Attributes: [<Obsolete("FAKE0001 Use `open Fake.IO` and `Shell.cd`")>] |
OBSOLETEFAKE0001 Use `open Fake.IO` and `Shell.cd` Changes working directory |
chdir(path)
Signature: path:string -> unit
Attributes: [<Obsolete("FAKE0001 Use `open Fake.IO` and `Shell.chdir`")>] |
OBSOLETEFAKE0001 Use `open Fake.IO` and `Shell.chdir` Changes working directory |
cp src dest
Signature: src:string -> dest:string -> unit
Attributes: [<Obsolete("FAKE0001 Use `open Fake.IO` and `Shell.cp`")>] |
OBSOLETEFAKE0001 Use `open Fake.IO` and `Shell.cp` Like "cp" in a shell. Copies a single file. The source The destination |
cp_r src dest
Signature: src:string -> dest:string -> unit
Attributes: [<Obsolete("FAKE0001 Use `open Fake.IO` and `Shell.cp_r`")>] |
OBSOLETEFAKE0001 Use `open Fake.IO` and `Shell.cp_r` Like "cp -r" in a shell. Copies a file or directory recursively. |
dirStack
Signature: Stack<string>
Attributes: [<Obsolete("FAKE0003 Please open an issue if you used this API")>] |
OBSOLETEFAKE0003 Please open an issue if you used this API The stack of directories operated on by pushd and popd |
mkdir(path)
Signature: path:string -> unit
Attributes: [<Obsolete("FAKE0001 Use `open Fake.IO` and `Shell.mkdir`")>] |
OBSOLETEFAKE0001 Use `open Fake.IO` and `Shell.mkdir` Creates a directory if it doesn't exist. |
mv src dest
Signature: src:string -> dest:string -> unit
Attributes: [<Obsolete("FAKE0001 Use `open Fake.IO` and `Shell.mv`")>] |
OBSOLETEFAKE0001 Use `open Fake.IO` and `Shell.mv` Like "mv" in a shell. Moves/renames a file The source The destination |
popd()
Signature: unit -> unit
Attributes: [<Obsolete("FAKE0001 Use `open Fake.IO` and `Shell.popd`")>] |
OBSOLETEFAKE0001 Use `open Fake.IO` and `Shell.popd` Restore the previous directory stored in the stack |
pushd(path)
Signature: path:string -> unit
Attributes: [<Obsolete("FAKE0001 Use `open Fake.IO` and `Shell.pushd`")>] |
OBSOLETEFAKE0001 Use `open Fake.IO` and `Shell.pushd` Store the current directory in the directory stack before changing to a new one |
pwd()
Signature: unit -> string
Attributes: [<Obsolete("FAKE0001 Use `open Fake.IO` and `Shell.pwd`")>] |
OBSOLETEFAKE0001 Use `open Fake.IO` and `Shell.pwd` Gets working directory |
rm(fileName)
Signature: fileName:string -> unit
Attributes: [<Obsolete("FAKE0001 Use `open Fake.IO` and `Shell.rm`")>] |
OBSOLETEFAKE0001 Use `open Fake.IO` and `Shell.rm` Deletes a file if it exists |
rm_rf(f)
Signature: f:string -> unit
Attributes: [<Obsolete("FAKE0001 Use `open Fake.IO` and `Shell.rm_rf`")>] |
OBSOLETEFAKE0001 Use `open Fake.IO` and `Shell.rm_rf` Like "rm -rf" in a shell. Removes files recursively, ignoring nonexisting files |