MCPcopy Create free account
hub / github.com/altic-dev/FluidVoice / deleteModels

Method deleteModels

Sources/Fluid/ContentView.swift:3224–3233  ·  view source on GitHub ↗

Delete models from disk

()

Source from the content-addressed store, hash-verified

3222
3223 /// Delete models from disk
3224 private func deleteModels() async {
3225 DebugLogger.shared.debug("User initiated model deletion", source: "ContentView")
3226
3227 do {
3228 try await self.asr.clearModelCache()
3229 DebugLogger.shared.info("Models deleted successfully", source: "ContentView")
3230 } catch {
3231 DebugLogger.shared.error("Failed to delete models: \(error)", source: "ContentView")
3232 }
3233 }
3234
3235 // MARK: - ASR Model Preloading
3236

Callers

nothing calls this directly

Calls 4

debugMethod · 0.80
clearModelCacheMethod · 0.80
infoMethod · 0.80
errorMethod · 0.45

Tested by

no test coverage detected