readMetaDataForPath reads the metadata from the path
(ctx context.Context, remote string)
| 208 | |
| 209 | // readMetaDataForPath reads the metadata from the path |
| 210 | func (f *Fs) readMetaDataForPath(ctx context.Context, remote string) (info *mega.Node, err error) { |
| 211 | rootNode, err := f.findRoot(ctx, false) |
| 212 | if err != nil { |
| 213 | return nil, err |
| 214 | } |
| 215 | return f.findObject(rootNode, remote) |
| 216 | } |
| 217 | |
| 218 | // NewFs constructs an Fs from the path, container:path |
| 219 | func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (fs.Fs, error) { |
no test coverage detected