A file system client.
Optional cache?: CacheA cache object.
Optional depth?: numberLimit the number of commits returned. No limit by default.
Optional filepath?: stringGet the commit for the filepath only.
Optional follow?: booleanContinue listing the history of a file beyond renames (works only for a single file, default: false).
Optional force?: booleanDo not throw error if filepath does not exist (works only for a single file, default: false).
Optional gitdir?: stringThe git directory path (default: {dir}/.git).
Optional ref?: stringThe commit to begin walking backwards through the history from (default: HEAD).
Optional since?: DateReturn history newer than the given date. Can be combined with depth to get whichever is shorter.
Generated using TypeDoc
The working tree directory path.