diff options
author | Paulo Gomes <pjbgf@linux.com> | 2024-08-09 08:07:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-09 08:07:25 +0100 |
commit | 728f1494421b0f32403ec18767ac2ab1cde68ff0 (patch) | |
tree | a5195706f80756aec4dd0e339680b090b0312f62 /storage | |
parent | c594bae8d75d3728947ffc9ad266acce32057dca (diff) | |
parent | 3624ec147c8c6ecb5df05f9b11731628e36f1744 (diff) | |
download | go-git-728f1494421b0f32403ec18767ac2ab1cde68ff0.tar.gz |
Merge pull request #1128 from pjbgf/small-fixes
Fix some lint warning and increase stalebot to 180 days
Diffstat (limited to 'storage')
-rw-r--r-- | storage/filesystem/dotgit/dotgit_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/filesystem/dotgit/dotgit_test.go b/storage/filesystem/dotgit/dotgit_test.go index be66fee..fdb8a57 100644 --- a/storage/filesystem/dotgit/dotgit_test.go +++ b/storage/filesystem/dotgit/dotgit_test.go @@ -612,7 +612,7 @@ func (s *SuiteDotGit) TestObjectsExclusive(c *C) { testObjectsWithPrefix(c, fs, dir) } -func testObjects(c *C, fs billy.Filesystem, dir *DotGit) { +func testObjects(c *C, _ billy.Filesystem, dir *DotGit) { hashes, err := dir.Objects() c.Assert(err, IsNil) c.Assert(hashes, HasLen, 187) @@ -621,7 +621,7 @@ func testObjects(c *C, fs billy.Filesystem, dir *DotGit) { c.Assert(hashes[2].String(), Equals, "03db8e1fbe133a480f2867aac478fd866686d69e") } -func testObjectsWithPrefix(c *C, fs billy.Filesystem, dir *DotGit) { +func testObjectsWithPrefix(c *C, _ billy.Filesystem, dir *DotGit) { prefix, _ := hex.DecodeString("01d5") hashes, err := dir.ObjectsWithPrefix(prefix) c.Assert(err, IsNil) |