MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / GetDriveExplorer

Function GetDriveExplorer

Goldleaf/source/fs/fs_FileSystem.cpp:104–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 DriveExplorer *GetDriveExplorer(const UsbHsFsDevice &drive) {
105 if((g_DriveExplorer != nullptr) && !drive::DrivesEqual(g_DriveExplorer->GetDrive(), drive)) {
106 DeleteExplorer(g_DriveExplorer);
107 }
108
109 return EnsureExplorer(g_DriveExplorer, drive);
110 }
111
112 Explorer *GetExplorerForMountName(const std::string &mount_name) {
113 if(IsExplorer(g_SdCardExplorer, mount_name)) {

Callers 1

ChangePartitionDriveMethod · 0.85

Calls 3

DrivesEqualFunction · 0.85
DeleteExplorerFunction · 0.85
EnsureExplorerFunction · 0.85

Tested by

no test coverage detected