MCPcopy
hub / github.com/rclone/rclone / Action

Method Action

backend/union/policy/epmfs.go:58–65  ·  view source on GitHub ↗

Action category policy, governing the modification of files and directories

(ctx context.Context, upstreams []*upstream.Fs, path string)

Source from the content-addressed store, hash-verified

56
57// Action category policy, governing the modification of files and directories
58func (p *EpMfs) Action(ctx context.Context, upstreams []*upstream.Fs, path string) ([]*upstream.Fs, error) {
59 upstreams, err := p.EpAll.Action(ctx, upstreams, path)
60 if err != nil {
61 return nil, err
62 }
63 u, err := p.mfs(upstreams)
64 return []*upstream.Fs{u}, err
65}
66
67// ActionEntries is ACTION category policy but receiving a set of candidate entries
68func (p *EpMfs) ActionEntries(entries ...upstream.Entry) ([]upstream.Entry, error) {

Callers

nothing calls this directly

Calls 2

mfsMethod · 0.95
ActionMethod · 0.65

Tested by

no test coverage detected