Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage: TarExtract request #50

Merged
merged 2 commits into from
Jun 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [0.23]
### Added
- Storage: New TarExtract request to unpack a tar archive to a given directory

## [0.22]
### Added
- StartVirtualDisplayRequest: optional send_input to request input from device
Expand Down
1 change: 1 addition & 0 deletions flipper.proto
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ message Main {
.PB_Storage.RenameRequest storage_rename_request = 30;
.PB_Storage.BackupCreateRequest storage_backup_create_request = 42;
.PB_Storage.BackupRestoreRequest storage_backup_restore_request = 43;
.PB_Storage.TarExtractRequest storage_tar_extract_request = 71;
.PB_App.StartRequest app_start_request = 16;
.PB_App.LockStatusRequest app_lock_status_request = 17;
.PB_App.LockStatusResponse app_lock_status_response = 18;
Expand Down
2 changes: 2 additions & 0 deletions storage.options
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ PB_Storage.RenameRequest.old_path type:FT_POINTER
PB_Storage.RenameRequest.new_path type:FT_POINTER
PB_Storage.BackupCreateRequest.archive_path type:FT_POINTER
PB_Storage.BackupRestoreRequest.archive_path type:FT_POINTER
PB_Storage.TarExtractRequest.tar_path type:FT_POINTER
PB_Storage.TarExtractRequest.out_path type:FT_POINTER

PB_Storage.ListResponse.file max_count:8

Expand Down
5 changes: 5 additions & 0 deletions storage.proto
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,8 @@ message BackupCreateRequest {
message BackupRestoreRequest {
string archive_path = 1;
}

message TarExtractRequest {
string tar_path = 1;
string out_path = 2;
}