Rust backend: SQLite (WAL mode, 8 tables), vault encryption (Argon2id + AES-256-GCM), settings/connections/credentials services, 19 Tauri command wrappers. 46/46 tests passing. Vue 3 frontend: unlock/create vault flow, Pinia app store, Tailwind CSS v4 dark theme with Wraith branding. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
36 lines
1007 B
JavaScript
36 lines
1007 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.FileMap = void 0;
|
|
class FileMap extends Map {
|
|
constructor(caseSensitive) {
|
|
super();
|
|
this.caseSensitive = caseSensitive;
|
|
this.originalFileNames = new Map();
|
|
}
|
|
keys() {
|
|
return this.originalFileNames.values();
|
|
}
|
|
get(key) {
|
|
return super.get(this.normalizeId(key));
|
|
}
|
|
has(key) {
|
|
return super.has(this.normalizeId(key));
|
|
}
|
|
set(key, value) {
|
|
this.originalFileNames.set(this.normalizeId(key), key);
|
|
return super.set(this.normalizeId(key), value);
|
|
}
|
|
delete(key) {
|
|
this.originalFileNames.delete(this.normalizeId(key));
|
|
return super.delete(this.normalizeId(key));
|
|
}
|
|
clear() {
|
|
this.originalFileNames.clear();
|
|
return super.clear();
|
|
}
|
|
normalizeId(id) {
|
|
return this.caseSensitive ? id : id.toLowerCase();
|
|
}
|
|
}
|
|
exports.FileMap = FileMap;
|
|
//# sourceMappingURL=utils.js.map
|