mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-03-24 17:00:06 +00:00
fix: show a warning when SQLite DB is stored on NFS/SMB/FUSE (#1381)
This commit is contained in:
committed by
GitHub
parent
95e9af4bbf
commit
2b5401dd2f
8
backend/internal/utils/networked_filesystem_nonlinux.go
Normal file
8
backend/internal/utils/networked_filesystem_nonlinux.go
Normal file
@@ -0,0 +1,8 @@
|
||||
//go:build !linux
|
||||
|
||||
package utils
|
||||
|
||||
// IsNetworkedFileSystem returns false on non-Linux systems because this detection is only used for Linux-specific statfs(2) filesystem magic values.
|
||||
func IsNetworkedFileSystem(string) (bool, error) {
|
||||
return false, nil
|
||||
}
|
||||
Reference in New Issue
Block a user