MCPcopy Create free account
hub / github.com/diskfs/go-diskfs / Open

Method Open

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

Open open a handle to read a file, implements fs.FS

(pathname string)

Source from the content-addressed store, hash-verified

42 Chtimes(pathname string, ctime, atime, mtime time.Time) error
43 // Open open a handle to read a file, implements fs.FS
44 Open(pathname string) (fs.File, error)
45 // OpenFile open a handle to read or write to a file
46 OpenFile(pathname string, flag int) (File, error)
47 // Rename renames (moves) oldpath to newpath. If newpath already exists and is not a directory, Rename replaces it.

Callers 15

TestGPTOpenFunction · 0.65
TestMBROpenFunction · 0.65
ExampleCreate_gptFunction · 0.65
TestReadFunction · 0.65
TestTableReadFunction · 0.65
TestTableWriteFunction · 0.65
TestTableReadFunction · 0.65
TestTableWriteFunction · 0.65
TestGetPartitionTableFunction · 0.65
TestFat16FSFSFunction · 0.65

Implementers 5

FileSystemfilesystem/iso9660/iso9660.go
FileSystemfilesystem/ext4/ext4.go
FileSystemfilesystem/squashfs/squashfs.go
FileSystemfilesystem/fat12/fat12.go
fakeFSsync/copy_test.go

Calls

no outgoing calls

Tested by 15

TestGPTOpenFunction · 0.52
TestMBROpenFunction · 0.52
ExampleCreate_gptFunction · 0.52
TestReadFunction · 0.52
TestTableReadFunction · 0.52
TestTableWriteFunction · 0.52
TestTableReadFunction · 0.52
TestTableWriteFunction · 0.52
TestGetPartitionTableFunction · 0.52
TestFat16FSFSFunction · 0.52