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

Method Mkdir

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

Mkdir make a directory

(pathname string)

Source from the content-addressed store, hash-verified

25 Type() Type
26 // Mkdir make a directory
27 Mkdir(pathname string) error
28 // creates a filesystem node (file, device special file, or named pipe) named pathname,
29 // with attributes specified by mode and dev
30 Mknod(pathname string, mode uint32, dev int) error

Callers 15

TestFat16MkdirFunction · 0.65
TestFat16StatFunction · 0.65
TestFat16FSFSFunction · 0.65
TestFat16ManyFilesFunction · 0.65
TestFinalize9660Function · 0.65
TestFinalizeRockRidgeFunction · 0.65
TestIso9660MkdirFunction · 0.65
TestIso9660FinalizeFunction · 0.65
TestGetExtensionsFunction · 0.65
TestFat32SourceDateEpochFunction · 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

TestFat16MkdirFunction · 0.52
TestFat16StatFunction · 0.52
TestFat16FSFSFunction · 0.52
TestFat16ManyFilesFunction · 0.52
TestFinalize9660Function · 0.52
TestFinalizeRockRidgeFunction · 0.52
TestIso9660MkdirFunction · 0.52
TestIso9660FinalizeFunction · 0.52
TestGetExtensionsFunction · 0.52
TestFat32SourceDateEpochFunction · 0.52