MCPcopy Index your code
hub / github.com/rclone/rclone / isNotifiedRemote

Method isNotifiedRemote

backend/cache/cache.go:1872–1883  ·  view source on GitHub ↗
(remote string)

Source from the content-addressed store, hash-verified

1870}
1871
1872func (f *Fs) isNotifiedRemote(remote string) bool {
1873 f.notifiedMu.Lock()
1874 defer f.notifiedMu.Unlock()
1875
1876 n, ok := f.notifiedRemotes[remote]
1877 if !ok || !n {
1878 return false
1879 }
1880
1881 delete(f.notifiedRemotes, remote)
1882 return n
1883}
1884
1885func cleanPath(p string) string {
1886 p = path.Clean(p)

Callers 1

refreshMethod · 0.80

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected