Commit Graph

10 Commits

Author SHA1 Message Date
Uwe Seimet
46fc22f72a Delete empty folders 2021-12-20 18:58:27 +01:00
Uwe Seimet
d55bf3e06f Updated delete operation 2021-12-20 18:33:59 +01:00
Uwe Seimet
5afce5f50f Copy/rename/create 2021-12-20 18:31:55 +01:00
Uwe Seimet
b969d3990a Cleanup 2021-12-20 15:21:17 +01:00
Uwe Seimet
6a6efa6bdd Cleanup 2021-12-20 12:58:29 +01:00
Uwe Seimet
72ab669158 Check for existing folder 2021-12-20 12:58:03 +01:00
Uwe Seimet
6a9ac4d0da Code cleanup, initial support for creating nested file 2021-12-20 12:52:26 +01:00
Uwe Seimet
79c5da9432
Use long long instead of long for image size (#383) 2021-10-26 06:41:17 -07:00
Uwe Seimet
ac4abbbe73
Unlink created image file if fallocate() or copying failed (#363)
* Unlink created image file if fallocate() failed

* Also delete destination file after copying if something goes wrong
2021-10-21 18:17:58 -07:00
Uwe Seimet
62a104f75d
Added SHUT_DOWN command, split rascsi.cpp (#334)
* Added TERMINATE command

* Help text update

* Created ras_util namespace

* Created protobuf_util namespace

* Extracted RascsiImage from rascsi for better modularity

* Fixed wrong filenames (class name differed)

* No need for response handler to be a singleton

* Class renaming

* Renaming

* Moved code

* Moved code

* Image folder handling optimizations

* Updated device factory handling

* DeviceFactory constructor should be private (singleton)

* Renamed TERMINATE to SHUT_DOWN

* Fixed capacity calculation for INQUIRY data

* ATTACH and DETACH return the resulting device list for convenience

* Interface comment update

* Moved code, check fd

* Use new command when returning result for ATTACH/DETACH

* Updated interface comments
2021-10-17 08:51:14 +02:00