(t *testing.T, rootFs fs.Fs, src, dst string)
| 1097 | } |
| 1098 | |
| 1099 | func (r *run) dirMove(t *testing.T, rootFs fs.Fs, src, dst string) error { |
| 1100 | var err error |
| 1101 | |
| 1102 | if rootFs.Features().DirMove != nil { |
| 1103 | err = rootFs.Features().DirMove(context.Background(), rootFs, src, dst) |
| 1104 | if err != nil { |
| 1105 | return err |
| 1106 | } |
| 1107 | } else { |
| 1108 | t.Logf("DirMove not supported by %v", rootFs) |
| 1109 | return errNotSupported |
| 1110 | } |
| 1111 | |
| 1112 | return err |
| 1113 | } |
| 1114 | |
| 1115 | func (r *run) move(t *testing.T, rootFs fs.Fs, src, dst string) error { |
| 1116 | var err error |
no test coverage detected