39 return bfs::is_directory(bfs::path(path));
54 throw Exception(
"Path " + path +
" is not readable.");
virtual VFSSource * getSource(const std::string &path) const
Get the source instance of the path.
VFSSource abstract baseclass.
virtual bool isReadable(const std::string &path) const
Check if a given directory is readable.
virtual bool hasSource(const std::string &path) const
Check whether the provider already has created a source with that path.
std::map< std::string, VFSSource *> m_sources
virtual VFSSource * createSource(const std::string &path)
Create a new instance of a VFSSource initialized with the given directory This will only pass if the ...
The most basic VFSSource for "normal" filesystems.