@zturnlibs/ztron-api


persisted-scope

Variables

persistedScope

const persistedScope: object

Defined in: persisted-scope.ts:17

Type Declaration

get

get: () => Promise<{ allow: string[]; }> = getPersistedScope

合并后的文件系统允许列表(基线 + 持久化条目)。

Returns

Promise<{ allow: string[]; }>

save

save: () => Promise<{ saved: boolean; }> = savePersistedScope

把合并后的允许列表写入持久化文件。

Returns

Promise<{ saved: boolean; }>

Functions

getPersistedScope()

getPersistedScope(): Promise<{ allow: string[]; }>

Defined in: persisted-scope.ts:8

合并后的文件系统允许列表(基线 + 持久化条目)。

Returns

Promise<{ allow: string[]; }>


savePersistedScope()

savePersistedScope(): Promise<{ saved: boolean; }>

Defined in: persisted-scope.ts:13

把合并后的允许列表写入持久化文件。

Returns

Promise<{ saved: boolean; }>