Action category policy, governing the modification of files and directories
(ctx context.Context, upstreams []*upstream.Fs, path string)
| 57 | |
| 58 | // Action category policy, governing the modification of files and directories |
| 59 | func (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 |
| 69 | func (p *EpLno) ActionEntries(entries ...upstream.Entry) ([]upstream.Entry, error) { |