isWrappedByCrypt checks if this is wrapped by a crypt remote
()
| 1816 | |
| 1817 | // isWrappedByCrypt checks if this is wrapped by a crypt remote |
| 1818 | func (f *Fs) isWrappedByCrypt() (*crypt.Fs, bool) { |
| 1819 | if f.wrapper == nil { |
| 1820 | return nil, false |
| 1821 | } |
| 1822 | c, ok := f.wrapper.(*crypt.Fs) |
| 1823 | return c, ok |
| 1824 | } |
| 1825 | |
| 1826 | // cleanRootFromPath trims the root of the current fs from a path |
| 1827 | func (f *Fs) cleanRootFromPath(p string) string { |
no outgoing calls
no test coverage detected