lib
Toggle table of contents
android
common
ios
jvm
Platform filter
android
common
ios
jvm
Switch theme
Search in API
lib
mockzilla-common
/
com.apadmi.mockzilla.lib.internal.utils
/
FileIo
File
Io
android
common
ios
jvm
actual
class
FileIo
expect
class
FileIo
actual
class
FileIo
actual
class
FileIo
Members
Constructors
File
Io
Link copied to clipboard
android
ios
jvm
constructor
(
cacheDir
:
File
)
constructor
(
)
constructor
(
cacheDir
:
File
)
Functions
delete
All
Caches
Link copied to clipboard
android
common
ios
jvm
actual
suspend
fun
deleteAllCaches
(
)
expect
suspend
fun
deleteAllCaches
(
)
actual
suspend
fun
deleteAllCaches
(
)
actual
suspend
fun
deleteAllCaches
(
)
delete
Cache
File
Link copied to clipboard
android
common
ios
jvm
actual
suspend
fun
deleteCacheFile
(
filename
:
String
)
expect
suspend
fun
deleteCacheFile
(
filename
:
String
)
actual
suspend
fun
deleteCacheFile
(
filename
:
String
)
actual
suspend
fun
deleteCacheFile
(
filename
:
String
)
read
From
Cache
Link copied to clipboard
android
common
ios
jvm
actual
suspend
fun
readFromCache
(
filename
:
String
)
:
String
?
expect
suspend
fun
readFromCache
(
filename
:
String
)
:
String
?
actual
suspend
fun
readFromCache
(
filename
:
String
)
:
String
?
actual
suspend
fun
readFromCache
(
filename
:
String
)
:
String
?
save
To
Cache
Link copied to clipboard
android
common
ios
jvm
actual
suspend
fun
saveToCache
(
filename
:
String
,
contents
:
String
)
expect
suspend
fun
saveToCache
(
filename
:
String
,
contents
:
String
)
actual
suspend
fun
saveToCache
(
filename
:
String
,
contents
:
String
)
actual
suspend
fun
saveToCache
(
filename
:
String
,
contents
:
String
)