(path string)
| 5 | ) |
| 6 | |
| 7 | func IsNetworkFS(path string) (bool, string, error) { |
| 8 | fsType, err := GetFSType(path) |
| 9 | if err != nil { |
| 10 | return false, "", err |
| 11 | } |
| 12 | |
| 13 | fsType = strings.ToLower(fsType) |
| 14 | |
| 15 | return fsType == "nfs" || fsType == "cifs" || fsType == "smb" || fsType == "smb2", fsType, nil |
| 16 | } |
no test coverage detected
searching dependent graphs…