MCPcopy
hub / github.com/containerd/containerd / WriteFile

Method WriteFile

pkg/os/os.go:37–37  ·  view source on GitHub ↗
(filename string, data []byte, perm os.FileMode)

Source from the content-addressed store, hash-verified

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
40 Unmount(target string) error

Callers 15

oneSevenCtrdConfigFunction · 0.65
checkLoopbackResultFunction · 0.65
TestOOMEventMonitorFunction · 0.65
injectCNIFailpointFunction · 0.65
writeStopSignalScriptFunction · 0.65
newContainerdProcessFunction · 0.65
createRegularFileFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 15

oneSevenCtrdConfigFunction · 0.52
checkLoopbackResultFunction · 0.52
TestOOMEventMonitorFunction · 0.52
injectCNIFailpointFunction · 0.52
writeStopSignalScriptFunction · 0.52
newContainerdProcessFunction · 0.52
createRegularFileFunction · 0.52