tomGitLocalRepositories function

TomGitLocalOpener tomGitLocalRepositories()

Opens the repository in the folder a git:file: locator names — a working repository, a linked worktree or a bare repository (GitLocalRepository.open) — for local git locations on a device with a file system.

Implementation

TomGitLocalOpener tomGitLocalRepositories() =>
    (folder) async => _LocalRepository(
      GitLocalRepository.open(folder.toFilePath(windows: Platform.isWindows)),
    );