about summary refs log tree commit diff
path: root/src/screens/Profile/Header/ProfileHeaderStandard.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-04-24 17:12:36 -0700
committerGitHub <noreply@github.com>2024-04-25 01:12:36 +0100
commitc3fcd486b3af97a2493190f9ec35febf6675f1ce (patch)
tree60943e86feeb89ee11279acdb07aad2fc7351889 /src/screens/Profile/Header/ProfileHeaderStandard.tsx
parent90c3ec87490497605dacb158668d3f8c07f4dcdc (diff)
downloadvoidsky-c3fcd486b3af97a2493190f9ec35febf6675f1ce.tar.zst
Cleanup files after each iteration of compression and downloading (#3599)
* delete image on each iteration of compression

* replace a few other instances of `unlink()`

* ensure that moving to the permanent path will succeed

* use `cacheDirectory`

* missing file extension?

* assert

* Remove extra .

* Extract safeDeleteAsync, fix normalization

* Normalize everywhere

* Use safeDeleteAsync in more places

* Delete .bin too

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'src/screens/Profile/Header/ProfileHeaderStandard.tsx')
0 files changed, 0 insertions, 0 deletions