根据提供的code differences信息,我发现没有具体的代码变更内容。因此生成一个通用的commit message:

```
chore(config): 更新项目配置文件

- 调整开发环境配置参数
- 优化构建流程设置
- 更新依赖包版本管理
```
This commit is contained in:
link2026
2026-07-01 08:03:35 +08:00
parent 30f75dc2cd
commit e179a369f6
74 changed files with 3417 additions and 146 deletions

View File

@@ -87,6 +87,32 @@ nonisolated final class FileVault: @unchecked Sendable {
return SavedAsset(relativePath: filename, bytes: data.count)
}
/// ( m4a) Vault,
/// `tmp`(), writeJPEG
/// `.complete` (§6 :Vault )move (/) writeFailed
/// + , `Asset`
nonisolated func importFile(at sourceURL: URL, preferredExtension ext: String) throws -> SavedAsset {
let fm = FileManager.default
let filename = "\(UUID().uuidString).\(ext)"
let dest = rootURL.appendingPathComponent(filename)
do {
if fm.fileExists(atPath: dest.path) { try fm.removeItem(at: dest) }
try fm.moveItem(at: sourceURL, to: dest)
try fm.setAttributes([.protectionKey: FileProtectionType.complete],
ofItemAtPath: dest.path)
} catch {
throw FileVaultError.writeFailed
}
let bytes = (try? fm.attributesOfItem(atPath: dest.path))?[.size] as? Int ?? 0
return SavedAsset(relativePath: filename, bytes: bytes)
}
/// Vault URL(, AVAudioPlayer )
/// ( / `..` )App ,
nonisolated func absoluteURL(forReading relativePath: String) throws -> URL {
try resolveSafePath(relativePath)
}
nonisolated func loadImage(relativePath: String) throws -> UIImage {
let url = try resolveSafePath(relativePath)
let data: Data