feat: add experimental standalone SMB service for Finder
This commit is contained in:
55 files changed
+7961
-10
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user