MCPcopy
hub / github.com/syncthing/syncthing / SharedWith

Method SharedWith

lib/config/folderconfiguration.go:365–368  ·  view source on GitHub ↗
(device protocol.DeviceID)

Source from the content-addressed store, hash-verified

363}
364
365func (f *FolderConfiguration) SharedWith(device protocol.DeviceID) bool {
366 _, ok := f.Device(device)
367 return ok
368}
369
370func (f *FolderConfiguration) CheckAvailableSpace(req uint64) error {
371 val := f.MinDiskFree.BaseValue()

Callers 15

CompletionMethod · 0.80
handleIndexMethod · 0.80
ccHandleFoldersMethod · 0.80
handleIntroductionsMethod · 0.80
RequestMethod · 0.80
DownloadProgressMethod · 0.80
cleanPendingMethod · 0.80
TestIssue5063Function · 0.80
TestAutoAcceptRejectedFunction · 0.80
TestAutoAcceptNewFolderFunction · 0.80

Calls 1

DeviceMethod · 0.95