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

Function updateCache

lib/transform/options.go:76–81  ·  view source on GitHub ↗
(nt []string, o []transform)

Source from the content-addressed store, hash-verified

74}
75
76func updateCache(nt []string, o []transform) {
77 cacheLock.Lock()
78 cachedNameTransform = slices.Clone(nt)
79 cachedOpt = o
80 cacheLock.Unlock()
81}
82
83// parse a single instance of --name-transform
84func parse(s string) (t transform, err error) {

Callers 1

getOptionsFunction · 0.85

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…