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

Method Remove

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

removes the named file or (empty) directory.

(pathname string)

Source from the content-addressed store, hash-verified

48 Rename(oldpath, newpath string) error
49 // removes the named file or (empty) directory.
50 Remove(pathname string) error
51 // Label get the label for the filesystem, or "" if none. Be careful to trim it, as it may contain
52 // leading or following whitespace. The label is passed as-is and not cleaned up at all.
53 Label() string

Callers 15

TestGPTOpenFunction · 0.65
TestMBROpenFunction · 0.65
ExampleCreate_fat32Function · 0.65
ExampleCreate_mbrFunction · 0.65
ExampleCreate_gptFunction · 0.65
ExampleOpenBackend_openFunction · 0.65
TestReadFunction · 0.65
TestTableWriteFunction · 0.65
TestTableWriteFunction · 0.65
TestPartitionFunction · 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_fat32Function · 0.52
ExampleCreate_mbrFunction · 0.52
ExampleCreate_gptFunction · 0.52
ExampleOpenBackend_openFunction · 0.52
TestReadFunction · 0.52
TestTableWriteFunction · 0.52
TestTableWriteFunction · 0.52
TestPartitionFunction · 0.52