1
0
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:
Alessandro (Ale) Segala
2026-03-23 10:50:54 -07:00
committed by GitHub
parent 95e9af4bbf
commit 2b5401dd2f
3 changed files with 57 additions and 2 deletions

View 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
}