Coverage Summary for Class: OkioExtensionsKt (com.georgeci.moneysurfer.data.backup)
| Class | Class, % | Method, % | Branch, % | Line, % | Instruction, % |
|---|---|---|---|---|---|
| OkioExtensionsKt | 100% (1/1) | 100% (1/1) | 100% (1/1) | 100% (4/4) |
package com.georgeci.moneysurfer.data.backup
import okio.FileSystem
import okio.Path
/** okio has no `deleteIfExists`; `delete(mustExist = false)` is its spelling of the same thing. */
internal fun FileSystem.deleteIfExists(path: Path) = delete(path, mustExist = false)