MCPcopy Create free account
hub / github.com/SpartanJ/eepp / getFileFromPath

Method getFileFromPath

src/eepp/system/virtualfilesystem.cpp:74–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74IOStream* VirtualFileSystem::getFileFromPath( const std::string& path ) {
75 Pack* pack = getPackFromFile( path );
76 return NULL != pack ? pack->getFileStream( path ) : NULL;
77}
78
79bool VirtualFileSystem::fileExists( const std::string& path ) {
80 return NULL != getPackFromFile( path );

Callers 3

loadFontFacesMethod · 0.80
loadCSSMethod · 0.80
importCSSMethod · 0.80

Calls 1

getFileStreamMethod · 0.45

Tested by

no test coverage detected