MCPcopy Index your code
hub / github.com/containerd/containerd / CopyFile

Method CopyFile

pkg/os/os.go:36–36  ·  view source on GitHub ↗
(src, dest string, perm os.FileMode)

Source from the content-addressed store, hash-verified

34 ResolveSymbolicLink(name string) (string, error)
35 FollowSymlinkInScope(path, scope string) (string, error)
36 CopyFile(src, dest string, perm os.FileMode) error
37 WriteFile(filename string, data []byte, perm os.FileMode) error
38 Hostname() (string, error)
39 Mount(source string, target string, fstype string, flags uintptr, data string) error

Callers 5

TestIssue10467Function · 0.65
copyShimFunction · 0.65
CheckpointContainerMethod · 0.65
setupSandboxFilesMethod · 0.65
copyFileWithSyncFunction · 0.65

Implementers 2

RealOSpkg/os/os.go
FakeOSpkg/os/testing/fake_os.go

Calls

no outgoing calls

Tested by 2

TestIssue10467Function · 0.52
copyShimFunction · 0.52