implement model methods for backup

This commit is contained in:
marlon-erler
2026-08-29 02:10:26 +02:00
parent 2c8b078b80
commit 2245fb5885
20 changed files with 11999 additions and 8945 deletions
+4 -1
View File
@@ -69,7 +69,10 @@ export default class StorageModel {
};
// recursion
readonly recurse = (rootDirectory: string[], fn: (path: string[]) => void): void => {
readonly recurse = (
rootDirectory: string[],
fn: (path: string[]) => void,
): void => {
loop_over_files: for (const key of Object.keys(localStorage)) {
// get path of current entity
const pathComponentsOfCurrentEntity: string[] =