|
arduino-audio-tools
|
Define multipe VFS with their mount point. More...
#include <VFS_Multi.h>
Public Member Functions | |
| void | add (VFS &vfs, const char *mountPoint) |
| adds a vfs with the corresponding mount point | |
| bool | begin () override |
| mount the file systems | |
| void | end () override |
| unmount the file system | |
| bool | exists (const char *path) |
| bool | exists (const std::string &path) |
| bool | mkdir (const char *path) |
| bool | mkdir (const std::string &path) |
| const char * | mountPoint () |
| provides the actual mount point | |
| VFSFile | open (const char *file, FileMode mode=VFS_FILE_READ) |
| VFSFile | open (const std::string &path, FileMode mode=VFS_FILE_READ) |
| bool | remove (const char *path) |
| bool | remove (const std::string &path) |
| bool | rename (const char *pathFrom, const char *pathTo) |
| bool | rename (const std::string &pathFrom, const std::string &pathTo) |
| bool | rmdir (const char *path) |
| bool | rmdir (const std::string &path) |
| virtual void | setMountPoint (const char *mp) |
| Not used! | |
Protected Member Functions | |
| const char * | expand (const char *file) |
| expands the file name with the mount point | |
Protected Attributes | |
| const char * | mount_point = "/" |
| Str | tmp |
| Vector< VFS * > | vfs_vector |
Define multipe VFS with their mount point.
|
inlineoverridevirtual |
mount the file systems
Reimplemented from VFS.
|
inlineoverridevirtual |
unmount the file system
Reimplemented from VFS.
|
inlinevirtual |
Not used!
Reimplemented from VFS.