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

Method TestObjectPath

gcs/public_test.go:233–236  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

231}
232
233func (s *PublishedStorageSuite) TestObjectPath(c *C) {
234 st := &PublishedStorage{prefix: "root"}
235 c.Check(st.objectPath("dists/stable/Release"), Equals, filepath.Join("root", "dists/stable/Release"))
236}
237
238func (s *PublishedStorageSuite) TestLinkFromPool(c *C) {
239 root := c.MkDir()

Callers

nothing calls this directly

Calls 2

objectPathMethod · 0.95
CheckMethod · 0.45

Tested by

no test coverage detected