MCPcopy Index your code
hub / github.com/tailscale/tailscale / ReadFile

Method ReadFile

net/dns/direct.go:599–599  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

597type wholeFileFS interface {
598 Chmod(name string, mode os.FileMode) error
599 ReadFile(name string) ([]byte, error)
600 Remove(name string) error
601 Rename(oldName, newName string) error
602 // ActualPath returns the real filesystem path for the given absolute

Callers 15

TestDockerfileVersionFunction · 0.65
mustGetGoModVersionFunction · 0.65
TestGoModFunction · 0.65
ConfigFromFileFunction · 0.65
runningUnderSystemdFunction · 0.65
awaitGokrazyNetworkFunction · 0.65
OpenFunction · 0.65
ReadNodeFileFunction · 0.65
TestNodeFileWriteFormatFunction · 0.65
TryConfigFileMigrationFunction · 0.65
deviceModelLinuxFunction · 0.65
linuxVersionMetaFunction · 0.65

Implementers 2

wslFSnet/dns/wsl_windows.go
directFSnet/dns/direct.go

Calls

no outgoing calls

Tested by 15

TestDockerfileVersionFunction · 0.52
mustGetGoModVersionFunction · 0.52
TestGoModFunction · 0.52
TestNodeFileWriteFormatFunction · 0.52
findKernelPathFunction · 0.52
TestBusyboxInTsappFunction · 0.52
benchmarkFileFunction · 0.52
readAlpineTagFunction · 0.52
ExampleNewServerConnFunction · 0.52
ExamplePublicKeysFunction · 0.52
TestSyncedToUpstreamFunction · 0.52