mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -07:00
Storage: Virtual volume label is now set from Image Name
This commit is contained in:
@@ -156,3 +156,9 @@ size_t storage_open_files_count(StorageData* storage) {
|
||||
size_t count = StorageFileList_size(storage->files);
|
||||
return count;
|
||||
}
|
||||
|
||||
const char* storage_file_get_path(File* file, StorageData* storage) {
|
||||
if(!storage_has_file(file, storage)) return "";
|
||||
StorageFile* storage_file_ref = storage_get_file(file, storage);
|
||||
return furi_string_get_cstr(storage_file_ref->path);
|
||||
}
|
||||
Reference in New Issue
Block a user