Versions in this module Expand all Collapse all v0 v0.0.1 Aug 16, 2021 Changes in this version + type Core interface + Config func() GitConfig + HEAD func() GitHEAD + Hooks func() GitHooks + Index func() GitIndex + Logs func() GitLogs + Modules func() GitModules + Objects func() GitObjects + Refs func() GitRefs + Worktrees func() GitWorktrees + type Driver interface + Accept func(uri lang.URI) bool + Factory func() Factory + Locator func() Locator + type Factory interface + Open func(location *Location) (Viewport, error) + type Finder interface + Find func(path fs.Path) []fs.Path + type GitConfig interface + type GitHEAD interface + type GitHooks interface + type GitIndex interface + type GitInfo interface + type GitLogs interface + type GitModules interface + CreateSubmodule func(name string) (GitSubmodule, error) + GetSubmodule func(name string) (GitSubmodule, error) + ListNames func() []string + type GitObjects interface + Info func() ObjectsInfo + Pack func() ObjectsPack + type GitPWD interface + type GitRefs interface + type GitSubmodule interface + OpenViewport func() (Viewport, error) + type GitWorkspace interface + type GitWorktree interface + GetWorkspace func() (GitWorkspace, error) + OpenViewport func() (Viewport, error) + type GitWorktrees interface + CreateWorktree func(name string) (GitWorktree, error) + Default func() GitWorktree + GetWorktree func(name string) (GitWorktree, error) + ListNames func() []string + type Location struct + CoreDirectory fs.Path + DotGit fs.Path + PWD fs.Path + SubmoduleDirectory fs.Path + WorkingDirectory fs.Path + WorktreeDirectory fs.Path + type Locator interface + Accept func(uri lang.URI) bool + Locate func(uri lang.URI) (*Location, error) + type Manager interface + FindDriver func(uri lang.URI) (Driver, error) + GetAllDrivers func() []Driver + Open func(uri lang.URI) (Viewport, error) + type ObjectsInfo interface + type ObjectsPack interface + type Viewport interface + Config func() GitConfig + GetCore func() Core + GetPWD func() GitPWD + GetSubmodule func() (GitSubmodule, error) + GetWorkspace func() (GitWorkspace, error) + GetWorktree func() (GitWorktree, error) + HEAD func() GitHEAD + Index func() GitIndex + Objects func() GitObjects + Refs func() GitRefs