MCPcopy Create free account
hub / github.com/aptly-dev/aptly / TestRefKey

Method TestRefKey

deb/publish_test.go:605–608  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

603}
604
605func (s *PublishedRepoSuite) TestRefKey(c *C) {
606 c.Check(s.repo.RefKey(""), DeepEquals, []byte("E"+s.repo.UUID))
607 c.Check(s.repo.RefKey("main"), DeepEquals, []byte("E"+s.repo.UUID+"main"))
608}
609
610func (s *PublishedRepoSuite) TestEncodeDecode(c *C) {
611 encoded := s.repo.Encode()

Callers

nothing calls this directly

Calls 2

CheckMethod · 0.45
RefKeyMethod · 0.45

Tested by

no test coverage detected