CapacitorAdapterFs
Properties
dir
dir:
null
|string
uri
uri:
string
Methods
append()
append(
realPath
,data
):Promise
<void
>
Parameters
• realPath: string
• data: string
Returns
Promise
<void
>
copy()
copy(
realPath
,newRealPath
):Promise
<void
>
Parameters
• realPath: string
• newRealPath: string
Returns
Promise
<void
>
delete()
delete(
realPath
):Promise
<void
>
Parameters
• realPath: string
Returns
Promise
<void
>
exists()
exists(
realPath
):Promise
<boolean
>
Parameters
• realPath: string
Returns
Promise
<boolean
>
getNativeUri()
getNativeUri(
realPath
):string
Parameters
• realPath: string
Returns
string
getUri()
getUri(
realPath
):string
Parameters
• realPath: string
Returns
string
init()
init():
Promise
<void
>
Returns
Promise
<void
>
mkdir()
mkdir(
realPath
):Promise
<void
>
Parameters
• realPath: string
Returns
Promise
<void
>
open()
open(
realPath
):Promise
<void
>
Parameters
• realPath: string
Returns
Promise
<void
>
read()
read(
realPath
):Promise
<string
>
Parameters
• realPath: string
Returns
Promise
<string
>
readBinary()
readBinary(
realPath
):Promise
<ArrayBuffer
>
Parameters
• realPath: string
Returns
readdir()
readdir(
realPath
):FileEntry
[]
Parameters
• realPath: string
Returns
rename()
rename(
realPath
,newRealPath
):Promise
<void
>
Parameters
• realPath: string
• newRealPath: string
Returns
Promise
<void
>
rmdir()
rmdir(
realPath
):Promise
<void
>
Parameters
• realPath: string
Returns
Promise
<void
>
setTimes()
setTimes(
realPath
,ctime
,mtime
):Promise
<void
>
Parameters
• realPath: string
• ctime: number
• mtime: number
Returns
Promise
<void
>
stat()
stat(
realPath
):FileEntry
Parameters
• realPath: string
Returns
trash()
trash(
realPath
):Promise
<void
>
Parameters
• realPath: string
Returns
Promise
<void
>
verifyIcloud()
verifyIcloud(
realPath
):Promise
<void
>
Parameters
• realPath: string
Returns
Promise
<void
>
watch()
watch(
realPath
):Promise
<void
>
Parameters
• realPath: string
Returns
Promise
<void
>
watchAndStatAll()
watchAndStatAll(
realPath
):Promise
<object
>
Parameters
• realPath: string
Returns
Promise
<object
>
children
children:
FileEntry
[]
write()
write(
realPath
,data
):Promise
<void
>
Parameters
• realPath: string
• data: string
Returns
Promise
<void
>
writeBinary()
writeBinary(
realPath
,data
):Promise
<void
>
Parameters
• realPath: string
• data: ArrayBuffer
Returns
Promise
<void
>
writeBinaryInternal()
writeBinaryInternal(
realPath
,data
):Promise
<void
>
Parameters
• realPath: string
• data: ArrayBuffer
Returns
Promise
<void
>