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