BulkOperationGitRepo.open method
BulkOperationGitRepo › open
Finds the git repo a folder belongs to.Signature:
open(workingDirectory: string): Promise<BulkOperationGitRepo | null>Parameters:
| Parameter | Type | Description |
|---|---|---|
| workingDirectory | string | The folder, normally the vault root. |
Returns: Promise<BulkOperationGitRepo | null> — The repo, or null when the folder is not inside a git work tree or git cannot be run.