BrowserPersistentFileStorage

Functions

Link copied to clipboard
abstract suspend fun deleteDirectory(rootPath: String)
Link copied to clipboard
abstract suspend fun loadDirectory(rootPath: String): List<BrowserPersistentFileEntry>?
Link copied to clipboard
abstract suspend fun loadFileChunk(rootPath: String, relativePath: String, chunkIndex: Int): ByteArray?
Link copied to clipboard
abstract suspend fun pruneFileChunks(rootPath: String, files: List<BrowserPersistentFile>)
Link copied to clipboard
abstract suspend fun saveDirectory(rootPath: String, entries: List<BrowserPersistentFileEntry>)
Link copied to clipboard
abstract suspend fun saveFileChunk(rootPath: String, relativePath: String, chunkIndex: Int, bytes: ByteArray)