A file system implementation.
Optional
cache?: CacheA cache object.
Optional
dryIf true, simulates a checkout so you can test whether it would succeed.
Optional
filepaths?: string[]Limit the checkout to the given files and directories.
Optional
force?: booleanIf true, conflicts will be ignored and files will be overwritten regardless of local changes.
Optional
gitdir?: stringThe git directory path (default: {dir}/.git
).
Optional
noIf true, will update HEAD but won't update the working directory.
Optional
noIf true, will update the working directory but won't update HEAD. Defaults to false
when ref
is provided, and true
if ref
is not provided.
Optional
onOptional progress event callback.
Optional
ref?: stringSource to checkout files from (default: HEAD
).
Optional
remote?: stringWhich remote repository to use (default: origin
).
Optional
track?: booleanIf false, will not set the remote branch tracking information (default true
).
Generated using TypeDoc
The working tree directory path.