MCPcopy Index your code
hub / github.com/syncthing/syncthing / init

Function init

lib/fs/basicfs.go:62–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60)
61
62func init() {
63 RegisterFilesystemType(FilesystemTypeBasic, func(root string, opts ...Option) (Filesystem, error) {
64 return newBasicFilesystem(root, opts...), nil
65 })
66}
67
68func newBasicFilesystem(root string, opts ...Option) *BasicFilesystem {
69 if root == "" {

Callers

nothing calls this directly

Calls 2

RegisterFilesystemTypeFunction · 0.85
newBasicFilesystemFunction · 0.85

Tested by

no test coverage detected