A file system implementation.
Optional fullname?: booleanReturn the full path (e.g. "refs/heads/main") instead of the abbreviated form.
Optional gitdir?: stringThe git directory path (default: {dir}/.git).
Optional test?: booleanIf the current branch doesn't actually exist (such as right after git init) then return undefined.
Generated using TypeDoc
The working tree directory path.