Filesystem improvements
See original GitHub issue-
The FileWriteOptions
directory
property needs to accept string concatenations likeFilesystemDirectory.ExternalStorage + '/downlad'
, not only types defined in Enum. -
Will be useful If the The FileWriteOptions
directory
acceptsBlob
type not only strings. -
When you write a file, if it already exists, it will be overwritten? Is there any parameter for this?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:37
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Linux kernel 6.2 promises multiple filesystem improvements
The forthcoming Linux kernel 6.2 should see improved filesystem handling, including performance gains for SD cards and USB keys, ...
Read more >2.6. Storage and File System Improvements
For more comprehensive coverage of performance improvements relating to storage and file systems, refer to Chapter 7, File Systems.
Read more >Kernel 6.2 Promises Multiple Filesystem Improvements
The forthcoming Linux kernel 6.2 should see improved filesystem handling, including performance gains for SD cards and USB keys, ...
Read more >Enhancements to the Fast Filesystem To Support Multi ...
Enhancements to the Fast Filesystem To Support Multi-Terabyte. Storage Systems. Marshall Kirk McKusick. Author and Consultant. Abstract.
Read more >Improvements in performance in very large file systems - IBM
The following actions can improve performance: Put the system pool on the fastest storage available, which can be either solid-state storage or hard...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
👍 Using
Blob
s for file read/writes would be really useful.If anyone still needs this, I implemented a solution myself which works with current cap version. Here is a sample app:
https://github.com/digaus/CapacitorSaveBlob
Tested myself in browser, android and on iOS.
Maybe @jcesarmobile or someone else is willing to integrate this into the current filesystem plugin (maybe add a new encoding type blob) if this solution is up to their standard 😄
Edit: with this PR it will also work for electron -> https://github.com/ionic-team/capacitor/pull/2567