MCPcopy Create free account
hub / github.com/capnspacehook/pandorasbox / Create

Method Create

absfs/filesystem.go:27–27  ·  view source on GitHub ↗

Create creates or truncates the named file. If the file already exists, it is truncated. If the file does not exist, it is created with mode 0666 (before umask). If successful, methods on the returned File can be used for I/O; the associated file descriptor has mode os.O_RDWR. If there is an error,

(name string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 13

CreateMethod · 0.65
CreateFunction · 0.65
CreateMethod · 0.65
FuzzVFSRaceFunction · 0.65
makeTreeFunction · 0.65
TestVFSFunction · 0.65
TestFileReaderFunction · 0.65
TestOpenWriteFunction · 0.65
TestRead0Function · 0.65
TestReadClosedFunction · 0.65
TestFstatFunction · 0.65
TestFTruncateFunction · 0.65

Implementers 2

pbFSosfs/osfs.go
virtualFSvfs/vfs.go

Calls

no outgoing calls

Tested by 10

FuzzVFSRaceFunction · 0.52
makeTreeFunction · 0.52
TestVFSFunction · 0.52
TestFileReaderFunction · 0.52
TestOpenWriteFunction · 0.52
TestRead0Function · 0.52
TestReadClosedFunction · 0.52
TestFstatFunction · 0.52
TestFTruncateFunction · 0.52
TestTruncateFunction · 0.52