toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.file.sync
/
SyncIO
/
Companion
Companion
object
Companion
:
SyncIO
Members
Members & Extensions
Functions
delete
Link copied to clipboard
open
override
fun
delete
(
path
:
String
)
:
Boolean
exec
Link copied to clipboard
open
override
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
override
fun
list
(
path
:
String
)
:
List
<
String
>
mkdir
Link copied to clipboard
open
override
fun
mkdir
(
path
:
String
)
:
Boolean
open
Link copied to clipboard
open
override
fun
open
(
path
:
String
,
mode
:
String
)
:
SyncIOFD
read
All
Bytes
Link copied to clipboard
open
override
fun
readAllBytes
(
path
:
String
)
:
ByteArray
readlink
Link copied to clipboard
open
override
fun
readlink
(
path
:
String
)
:
String
?
read
String
Link copied to clipboard
open
override
fun
readString
(
path
:
String
)
:
String
realpath
Link copied to clipboard
open
override
fun
realpath
(
path
:
String
)
:
String
rmdir
Link copied to clipboard
open
override
fun
rmdir
(
path
:
String
)
:
Boolean
stat
Link copied to clipboard
open
override
fun
stat
(
path
:
String
)
:
SyncIOStat
?
write
Link copied to clipboard
open
override
fun
write
(
path
:
String
,
data
:
ByteArray
)
write
All
Bytes
Link copied to clipboard
open
override
fun
writeAllBytes
(
path
:
String
,
data
:
ByteArray
)
writelink
Link copied to clipboard
open
override
fun
writelink
(
path
:
String
,
link
:
String
?
)
write
String
Link copied to clipboard
open
override
fun
writeString
(
path
:
String
,
data
:
String
)