MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / Move

Method Move

drivers/febbox/driver.go:93–100  ·  view source on GitHub ↗
(ctx context.Context, srcObj, dstDir model.Obj)

Source from the content-addressed store, hash-verified

91}
92
93func (d *FebBox) Move(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) {
94 err := d.move(srcObj.GetID(), dstDir.GetID())
95 if err != nil {
96 return nil, err
97 }
98
99 return nil, nil
100}
101
102func (d *FebBox) Rename(ctx context.Context, srcObj model.Obj, newName string) (model.Obj, error) {
103 err := d.rename(srcObj.GetID(), newName)

Callers

nothing calls this directly

Calls 2

moveMethod · 0.95
GetIDMethod · 0.65

Tested by

no test coverage detected