Function: handleAt()
Documentation / @wtf/platform-fs / files / handleAt
Call Signature
function handleAt( platform, path, options): Promise<FileSystemFileHandle>;Defined in: packages/platform-fs/src/files.ts:66
The handle of path on the platform: resolved against its working folder, dirs.cwd, and found
from the root of its storage, by at of ./path, of a file (kind: 'file'), a folder
(kind: 'directory'), or either; with create, made where it is not there, with each folder on
the way. What is not there is a SystemError of NotFound, an entry of the other kind one of
BadResource.
Parameters
| Parameter | Type |
|---|---|
platform | FilesPlatform |
path | string |
options | AtOptions & object |
Returns
Promise<FileSystemFileHandle>
Call Signature
function handleAt( platform, path, options): Promise<FileSystemDirectoryHandle>;Defined in: packages/platform-fs/src/files.ts:71
The handle of path on the platform: resolved against its working folder, dirs.cwd, and found
from the root of its storage, by at of ./path, of a file (kind: 'file'), a folder
(kind: 'directory'), or either; with create, made where it is not there, with each folder on
the way. What is not there is a SystemError of NotFound, an entry of the other kind one of
BadResource.
Parameters
| Parameter | Type |
|---|---|
platform | FilesPlatform |
path | string |
options | AtOptions & object |
Returns
Promise<FileSystemDirectoryHandle>
Call Signature
function handleAt( platform, path, options?): Promise< | FileSystemFileHandle| FileSystemDirectoryHandle>;Defined in: packages/platform-fs/src/files.ts:76
The handle of path on the platform: resolved against its working folder, dirs.cwd, and found
from the root of its storage, by at of ./path, of a file (kind: 'file'), a folder
(kind: 'directory'), or either; with create, made where it is not there, with each folder on
the way. What is not there is a SystemError of NotFound, an entry of the other kind one of
BadResource.
Parameters
| Parameter | Type |
|---|---|
platform | FilesPlatform |
path | string |
options? | AtOptions & object |
Returns
Promise<
| FileSystemFileHandle
| FileSystemDirectoryHandle>
