diff options
| author | 2025-11-16 00:00:00 +0000 | |
|---|---|---|
| committer | 2025-11-16 00:00:00 +0000 | |
| commit | 01ae5ecb514db3b0a1aaf9235e331b671bd64f66 (patch) | |
| tree | 6ff345f26c7a10e659ff78ade53c4b8add831825 /repo.go | |
| parent | Extract bufpool into its own package (diff) | |
| signature | ||
Move config to its own package
Diffstat (limited to 'repo.go')
| -rw-r--r-- | repo.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -8,6 +8,8 @@ import ( "os" "path/filepath" "sync" + + "git.sr.ht/~runxiyu/furgit/config" ) // Repository represents the root of a Git repository. @@ -48,7 +50,7 @@ func OpenRepository(path string) (*Repository, error) { _ = f.Close() }() - cfg, err := ParseConfig(f) + cfg, err := config.ParseConfig(f) if err != nil { return nil, fmt.Errorf("furgit: failed to parse config: %w", err) } |
