feat: add experimental standalone SMB service for Finder

This commit is contained in:
Meghdad committed 2026-10-16 15:09:41 +03:30
1 parent c9006c11dd
commit b9cb187f0d
55 files changed
+7961 -10

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
//go:build !linux && !darwin
package smbserver
import (
"errors"
"os"
)
// On platforms without a portable inode the server falls back on paths for
// file identity and on a fixed figure for the capacity. The package is meant
// to run on Linux; these exist so that it builds and its tests run elsewhere.
func sysStat(os.FileInfo) (sysInfo, bool) { return sysInfo{}, false }
func diskSpace(string) (total, free, avail uint64, unit uint32, err error) {
return 0, 0, 0, 0, errors.ErrUnsupported
}