Files
workinf_Blender_Wasm/docs/status/W-040.md
2026-08-12 04:47:48 -04:00

15 lines
559 B
Markdown

# W-040 Status
status: in_progress
task: 固定 OPFS 目录布局
`web/app/src/storage/opfs-files.ts` validates project IDs and file names,
creates `projects/<id>/scene.blend`, `snapshots/`, `assets/`, `thumbs/` and
`tmp/`, and writes a complete scene buffer through a temporary file before
replacement. The standard `FileSystemHandle.move` path is used when available;
the copy-and-remove fallback is bounded to the same project directory.
Large asset hashing, crash-recovery manifests and cross-browser atomic rename
guarantees remain subsequent tasks.