(p string)
| 1836 | } |
| 1837 | |
| 1838 | func (f *Fs) isRootInPath(p string) bool { |
| 1839 | if f.Root() == "" { |
| 1840 | return true |
| 1841 | } |
| 1842 | return strings.HasPrefix(p, f.Root()+"/") |
| 1843 | } |
| 1844 | |
| 1845 | // MergeDirs merges the contents of all the directories passed |
| 1846 | // in into the first one and rmdirs the other directories. |