TrashManager

Types

Link copied to clipboard
data class TrashedItem(val trashPath: String, val originalPath: String, val name: String, val deletedAt: Long, val isDirectory: Boolean)

Properties

Link copied to clipboard
const val TRASH_DIR: String

Functions

Link copied to clipboard
fun isTrashPath(context: Context, path: String): Boolean
Link copied to clipboard
Link copied to clipboard
fun moveToTrash(context: Context, source: File): Boolean
Link copied to clipboard
fun purgeExpired(context: Context)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun trashDir(context: Context): File