MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / PathIsDirectory

Function PathIsDirectory

pkg/sys/fs.go:95–97  ·  view source on GitHub ↗

PathIsDirectory determines if the provided path is a directory.

(path string)

Source from the content-addressed store, hash-verified

93
94// PathIsDirectory determines if the provided path is a directory.
95func PathIsDirectory(path string) bool {
96 return pathIsDirectory(windows.StringToUTF16Ptr(path))
97}
98
99// GetMappedFile checks whether the specified address is within a memory-mapped file in the address
100// space of the specified process. If so, the function returns the name of the memory-mapped file.

Callers 3

QueryNameFunction · 0.92
GetFileTypeFunction · 0.92

Calls 1

pathIsDirectoryFunction · 0.85

Tested by

no test coverage detected