MCPcopy Index your code
hub / github.com/aptly-dev/aptly / TestRefKey

Method TestRefKey

deb/local_test.go:71–75  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

69}
70
71func (s *LocalRepoSuite) TestRefKey(c *C) {
72 c.Assert(len(s.repo.RefKey()), Equals, 37)
73 c.Assert(s.repo.RefKey()[0], Equals, byte('E'))
74 c.Assert(s.repo.RefKey()[1:], DeepEquals, s.repo.Key()[1:])
75}
76
77type LocalRepoCollectionSuite struct {
78 db database.Storage

Callers

nothing calls this directly

Calls 2

RefKeyMethod · 0.45
KeyMethod · 0.45

Tested by

no test coverage detected