toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.file.sync
/
SyncIO
Sync
IO
interface
SyncIO
Inheritors
Companion
MemorySyncIO
DenoSyncIO
Members
Members & Extensions
Types
Companion
Link copied to clipboard
object
Companion
:
SyncIO
Functions
delete
Link copied to clipboard
open
fun
delete
(
path
:
String
)
:
Boolean
exec
Link copied to clipboard
open
fun
exec
(
commands
:
List
<
String
>
,
envs
:
Map
<
String
,
String
>
,
cwd
:
String
=
"."
)
:
SyncExecProcess
file
Link copied to clipboard
fun
SyncIO
.
file
(
path
:
String
)
:
SyncIOFile
list
Link copied to clipboard
open
fun
list
(
path
:
String
)
:
List
<
String
>
mkdir
Link copied to clipboard
open
fun
mkdir
(
path
:
String
)
:
Boolean
open
Link copied to clipboard
open
fun
open
(
path
:
String
,
mode
:
String
)
:
SyncIOFD
read
All
Bytes
Link copied to clipboard
open
fun
readAllBytes
(
path
:
String
)
:
ByteArray
readlink
Link copied to clipboard
open
fun
readlink
(
path
:
String
)
:
String
?
read
String
Link copied to clipboard
open
fun
readString
(
path
:
String
)
:
String
realpath
Link copied to clipboard
open
fun
realpath
(
path
:
String
)
:
String
rmdir
Link copied to clipboard
open
fun
rmdir
(
path
:
String
)
:
Boolean
stat
Link copied to clipboard
open
fun
stat
(
path
:
String
)
:
SyncIOStat
?
write
Link copied to clipboard
open
fun
write
(
path
:
String
,
data
:
ByteArray
)
write
All
Bytes
Link copied to clipboard
open
fun
writeAllBytes
(
path
:
String
,
data
:
ByteArray
)
writelink
Link copied to clipboard
open
fun
writelink
(
path
:
String
,
link
:
String
?
)
write
String
Link copied to clipboard
open
fun
writeString
(
path
:
String
,
data
:
String
)