korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
native
Target filter
common
native
Switch theme
Search in API
Skip to content
korlibs
korlibs-io-fs
/
korlibs.io.core
/
SyncSystemFSNativeBase
Sync
System
FSNative
Base
native
abstract
class
SyncSystemFSNativeBase
:
SyncSystemFS
Inheritors
MingwSyncSystemFS
SyncSystemFSPosixBase
Members
Members & Extensions
Constructors
Sync
System
FSNative
Base
Link copied to clipboard
native
constructor
(
)
Properties
file
Separator
Char
Link copied to clipboard
native
open
val
fileSeparatorChar
:
Char
path
Separator
Char
Link copied to clipboard
native
open
val
pathSeparatorChar
:
Char
Functions
check
Exec
Folder
Link copied to clipboard
fun
SyncSystemFS
.
checkExecFolder
(
path
:
String
,
cmdAndArgs
:
List
<
String
>
)
create
Sync
File
System
FS
Link copied to clipboard
native
abstract
fun
createSyncFileSystemFS
(
file
:
CPointer
<
FILE
>
?
)
:
SyncFileSystemFSNativeBase
exec
Link copied to clipboard
native
open
fun
exec
(
commands
:
List
<
String
>
,
envs
:
Map
<
String
,
String
>
,
cwd
:
String
)
:
SyncSystemFSProcess
exists
Link copied to clipboard
native
open
fun
exists
(
path
:
String
)
:
Boolean
getcwd
Link copied to clipboard
native
open
fun
getcwd
(
)
:
String
get
Resource
Bytes
Link copied to clipboard
native
open
fun
getResourceBytes
(
path
:
String
,
clazz
:
KClass
<
*
>
?
=
null
)
:
ByteArray
get
Resource
Length
Link copied to clipboard
native
open
fun
getResourceLength
(
path
:
String
,
clazz
:
KClass
<
*
>
?
=
null
)
:
Long
is
Directory
Link copied to clipboard
native
open
fun
isDirectory
(
path
:
String
)
:
Boolean
is
File
Link copied to clipboard
native
open
fun
isFile
(
path
:
String
)
:
Boolean
listdir
Link copied to clipboard
native
open
override
fun
listdir
(
path
:
String
)
:
Sequence
<
String
>
mkdir
Link copied to clipboard
native
abstract
fun
mkdir
(
path
:
String
)
:
Boolean
open
Link copied to clipboard
native
open
override
fun
open
(
path
:
String
,
write
:
Boolean
=
false
)
:
SyncFileSystemFS
?
read
Bytes
Link copied to clipboard
fun
SyncSystemFS
.
readBytes
(
path
:
String
)
:
ByteArray
readlink
Link copied to clipboard
native
open
fun
readlink
(
path
:
String
)
:
String
?
realpath
Link copied to clipboard
native
open
fun
realpath
(
path
:
String
)
:
String
rmdir
Link copied to clipboard
native
open
override
fun
rmdir
(
path
:
String
)
:
Boolean
size
Link copied to clipboard
fun
SyncSystemFS
.
size
(
path
:
String
)
:
Long
?
stat
Link copied to clipboard
native
open
override
fun
stat
(
path
:
String
)
:
FileSystemFSStat
?
to
Async
Link copied to clipboard
fun
SyncSystemFS
.
toAsync
(
ioDispatcher
:
CoroutineDispatcher
?
)
:
SystemFS
unlink
Link copied to clipboard
native
open
override
fun
unlink
(
path
:
String
)
:
Boolean
write
Bytes
Link copied to clipboard
fun
SyncSystemFS
.
writeBytes
(
path
:
String
,
bytes
:
ByteArray
)