Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aptly-dev/aptly
/ TestCopyFile
Method
TestCopyFile
utils/copyfile_test.go:22–28 ·
view source on GitHub ↗
(c *C)
Source
from the content-addressed store, hash-verified
20
}
21
22
func
(s *CopyfileSuite) TestCopyFile(c *C) {
23
err := CopyFile(s.source.Name(), s.dest)
24
c.Check(err, Equals, nil)
25
26
_, err = os.Stat(s.dest)
27
c.Check(err, Equals, nil)
28
}
Callers
nothing calls this directly
Calls
3
CopyFile
Function · 0.85
Stat
Method · 0.65
Check
Method · 0.45
Tested by
no test coverage detected