File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import {
2020 type BackupSnapshotMetadata ,
2121 buildMetadataSection ,
2222} from "./storage/backup-metadata.js" ;
23+ import { isCacheLikeBackupArtifactName } from "./storage/cache-artifacts.js" ;
2324import { formatStorageErrorHint } from "./storage/error-hints.js" ;
2425import { loadFlaggedAccountsFromFile } from "./storage/flagged-storage-file.js" ;
2526import {
@@ -501,10 +502,6 @@ function withRestoreMetadata(
501502 } ;
502503}
503504
504- function isCacheLikeBackupArtifactName ( entryName : string ) : boolean {
505- return entryName . toLowerCase ( ) . includes ( ".cache" ) ;
506- }
507-
508505async function loadFlaggedAccountsFromPath (
509506 path : string ,
510507) : Promise < FlaggedAccountStorageV1 > {
Original file line number Diff line number Diff line change 1+ export function isCacheLikeBackupArtifactName ( entryName : string ) : boolean {
2+ return entryName . toLowerCase ( ) . includes ( ".cache" ) ;
3+ }
You can’t perform that action at this time.
0 commit comments