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

Method Action

backend/union/policy/eplno.go:59–66  ·  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

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

Callers

nothing calls this directly

Calls 2

lnoMethod · 0.95
ActionMethod · 0.65

Tested by

no test coverage detected