Base returns the base node of the path, this is the node that the path points to
()
| 28 | // Base returns the base node of the path, this is the node that the path points |
| 29 | // to |
| 30 | func (fsp *FilesystemPath) Base() FilesystemNode { |
| 31 | return fsp.Path[fsp.BaseIndex] |
| 32 | } |
| 33 | |
| 34 | // FilesystemNode is a single node in the pixeldrain filesystem. Usually part of |
| 35 | // a Path or Children slice. The Node is also returned as response from update |
no outgoing calls