From b15ad143be0b44e8ce9089c52476d3b9b708a58e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 16 Nov 2025 00:00:00 +0000 Subject: Remove repo.Root --- repo.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/repo.go b/repo.go index 9b767f01..d917ec04 100644 --- a/repo.go +++ b/repo.go @@ -106,11 +106,6 @@ func (repo *Repository) Close() error { return closeErr } -// Root returns the repository root path. -func (repo *Repository) Root() string { - return repo.rootPath -} - // repoPath joins the root with a relative path. func (repo *Repository) repoPath(rel string) string { return filepath.Join(repo.rootPath, rel) -- cgit v1.3.1-10-gc9f91