MCPcopy
hub / github.com/syncthing/syncthing / OpenFile

Method OpenFile

lib/fs/filesystem.go:42–42  ·  view source on GitHub ↗
(name string, flags int, mode FileMode)

Source from the content-addressed store, hash-verified

40 MkdirAll(name string, perm FileMode) error
41 Open(name string) (File, error)
42 OpenFile(name string, flags int, mode FileMode) (File, error)
43 ReadSymlink(name string) (string, error)
44 Remove(name string) error
45 RemoveAll(name string) error

Callers 15

NewCertificateFunction · 0.65
writeEncryptionTokenFunction · 0.65
tempFileInWritableDirMethod · 0.65
loadConfigFunction · 0.65
TestIssue6961Function · 0.65
shortcutFileMethod · 0.65
TestRequestDeleteChangedFunction · 0.65
writeFileFunction · 0.65
TestNormalizationFunction · 0.65
TempFileFunction · 0.65

Implementers 4

BasicFilesystemlib/fs/basicfs.go
metricsFSlib/fs/metrics.go
fakeFSlib/fs/fakefs.go
errorFilesystemlib/fs/errorfs.go

Calls

no outgoing calls

Tested by 13

loadConfigFunction · 0.52
TestIssue6961Function · 0.52
TestRequestDeleteChangedFunction · 0.52
writeFileFunction · 0.52
TestNormalizationFunction · 0.52
testFakeFSOpenFileFunction · 0.52
testFakeFSOpenFileInsensFunction · 0.52
TestConflictsDefaultFunction · 0.52
TestOverrideFunction · 0.52