MCPcopy Create free account
hub / github.com/coder/envbox / GetFileOwner

Method GetFileOwner

xunix/xunixfake/fs.go:46–49  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

44}
45
46func (m *MemFS) GetFileOwner(path string) (FileOwner, bool) {
47 owner, ok := m.Owner[path]
48 return owner, ok
49}
50
51// LStat doesn't follow symbolic links since this is a in-mem fake.
52func (m *MemFS) LStat(path string) (fs.FileInfo, error) {

Callers 1

TestDockerFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestDockerFunction · 0.64