Local готово

This commit is contained in:
Пытков Роман
2024-12-28 21:27:02 +03:00
parent e4bef8d4fe
commit 82412db962
4 changed files with 117 additions and 104 deletions

View File

@@ -1,9 +1,5 @@
package com.github.nullptroma.wallenc.domain.datatypes
class EncryptKey {
val key: String
class EncryptKey(val key: String) {
constructor(key: String) {
this@EncryptKey.key = key
}
}

View File

@@ -35,9 +35,7 @@ interface IStorageAccessor {
suspend fun touchFile(path: String)
suspend fun touchDir(path: String)
suspend fun delete(path: String)
suspend fun getFileInfo(path: String)
suspend fun getDirInfo(path: String)
suspend fun openWrite(path: String): InputStream
suspend fun openRead(path: String): OutputStream
suspend fun openWrite(path: String): OutputStream
suspend fun openRead(path: String): InputStream
suspend fun moveToTrash(path: String)
}