Skip to content

CapacitorAdapterFs

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:4

Properties

dir

dir: null | string

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:5


uri

uri: string

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:6

Methods

append()

append(realPath, data): Promise<void>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:8

Parameters

realPath

string

data

string

Returns

Promise<void>


copy()

copy(realPath, newRealPath): Promise<void>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:9

Parameters

realPath

string

newRealPath

string

Returns

Promise<void>


delete()

delete(realPath): Promise<void>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:10

Parameters

realPath

string

Returns

Promise<void>


exists()

exists(realPath): Promise<boolean>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:11

Parameters

realPath

string

Returns

Promise<boolean>


getNativeUri()

getNativeUri(realPath): string

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:12

Parameters

realPath

string

Returns

string


getUri()

getUri(realPath): string

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:13

Parameters

realPath

string

Returns

string


init()

init(): Promise<void>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:14

Returns

Promise<void>


mkdir()

mkdir(realPath): Promise<void>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:15

Parameters

realPath

string

Returns

Promise<void>


open()

open(realPath): Promise<void>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:16

Parameters

realPath

string

Returns

Promise<void>


read()

read(realPath): Promise<string>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:17

Parameters

realPath

string

Returns

Promise<string>


readBinary()

readBinary(realPath): Promise<ArrayBuffer>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:18

Parameters

realPath

string

Returns

Promise<ArrayBuffer>


readdir()

readdir(realPath): FileEntry[]

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:19

Parameters

realPath

string

Returns

FileEntry[]


rename()

rename(realPath, newRealPath): Promise<void>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:20

Parameters

realPath

string

newRealPath

string

Returns

Promise<void>


rmdir()

rmdir(realPath): Promise<void>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:21

Parameters

realPath

string

Returns

Promise<void>


setTimes()

setTimes(realPath, ctime, mtime): Promise<void>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:22

Parameters

realPath

string

ctime

number

mtime

number

Returns

Promise<void>


stat()

stat(realPath): Promise<FileEntry>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:23

Parameters

realPath

string

Returns

Promise<FileEntry>


trash()

trash(realPath): Promise<void>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:24

Parameters

realPath

string

Returns

Promise<void>


verifyIcloud()

verifyIcloud(realPath): Promise<void>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:25

Parameters

realPath

string

Returns

Promise<void>


watch()

watch(realPath): Promise<void>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:26

Parameters

realPath

string

Returns

Promise<void>


watchAndStatAll()

watchAndStatAll(realPath): Promise<{ children: FileEntry[]; }>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:27

Parameters

realPath

string

Returns

Promise<{ children: FileEntry[]; }>


write()

write(realPath, data): Promise<void>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:28

Parameters

realPath

string

data

string

Returns

Promise<void>


writeBinary()

writeBinary(realPath, data): Promise<void>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:29

Parameters

realPath

string

data

ArrayBuffer

Returns

Promise<void>


writeBinaryInternal()

writeBinaryInternal(realPath, data): Promise<void>

Defined in: src/obsidian/internals/CapacitorAdapterFs.d.ts:30

Parameters

realPath

string

data

ArrayBuffer

Returns

Promise<void>