- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for checkCrossDevice (0.16 sec)
-
internal/mountinfo/mountinfo_linux.go
return s1.Sys().(*syscall.Stat_t).Ino == s2.Sys().(*syscall.Stat_t).Ino } // CheckCrossDevice - check if any list of paths has any sub-mounts at /proc/mounts. func CheckCrossDevice(absPaths []string) error { return checkCrossDevice(absPaths, procMountsPath) } // Check cross device is an internal function. func checkCrossDevice(absPaths []string, mountsPath string) error { mounts, err := readProcMounts(mountsPath)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.7K bytes - Viewed (0)