MCPcopy Create free account
hub / github.com/tailscale/tailscale / Mode

Method Mode

drive/driveimpl/shared/stat.go:39–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37func (fi *StaticFileInfo) Name() string { return fi.Named }
38func (fi *StaticFileInfo) Size() int64 { return fi.Sized }
39func (fi *StaticFileInfo) Mode() os.FileMode { return fi.Moded }
40func (fi *StaticFileInfo) ModTime() time.Time { return fi.ModdedTime }
41func (fi *StaticFileInfo) IsDir() bool { return fi.Dir }
42func (fi *StaticFileInfo) Sys() any { return nil }

Callers 15

TestPackageDocsFunction · 0.80
initMethod · 0.80
ensureStateDirPermsUnixFunction · 0.80
DisabledEtcAptSourceFunction · 0.80
ipCmdSupportsFwmaskFunction · 0.80
listenFunction · 0.80
WriteFileFunction · 0.80
writeRegularMethod · 0.80
isSymlinkFunction · 0.80
runStatFunction · 0.80
mainFunction · 0.80
TestCacheUnchangedFunction · 0.80

Calls

no outgoing calls

Tested by 6

TestPackageDocsFunction · 0.64
TestCacheUnchangedFunction · 0.64
TestWriteFileUmaskFunction · 0.64
copyFileFunction · 0.64
fileInfoToStaticFunction · 0.64
TestHandlePeerAPIFunction · 0.64