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

Method Open

internal/fsview/overlay.go:97–102  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

95}
96
97func (o *overlayFS) Open(name string) (fs.File, error) {
98 if !fs.ValidPath(name) {
99 return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrInvalid}
100 }
101 return o.openFollow(name, 0)
102}
103
104// Lstat returns a FileInfo describing the named file without following
105// the final symlink component. Intermediate symlinks are resolved through

Callers 15

supportsIDMapFunction · 0.45
TestIssue10467Function · 0.45
dumpFileContentFunction · 0.45
PidsOfFunction · 0.45
getCgroupPathFunction · 0.45
copyExistingContentsFunction · 0.45
appArmorProfileExistsFunction · 0.45
CRImportCheckpointMethod · 0.45
pinUserNamespaceMethod · 0.45
OpenFunction · 0.45
readKVStatsFileFunction · 0.45

Calls 1

openFollowMethod · 0.95

Tested by 15

supportsIDMapFunction · 0.36
TestIssue10467Function · 0.36
dumpFileContentFunction · 0.36
PidsOfFunction · 0.36
getCgroupPathFunction · 0.36
resolveDevicePathFunction · 0.36
ext4IsVerityFunction · 0.36
TestEROFSBaseLayerFunction · 0.36