FileSystem
Properties
| Property | Type | Description | 
|---|---|---|
| url | null|URL | A URLinstance that points to the root of the filesystem mount. You should use this to create file path references within the filesystem mount. Exampleconst dataUrl = new URL('data.json', fileSystem.url); | 
Methods
mount()
mount(name): URL
Mounts the FileSystem such that filesystem operations may be used.
Parameters
| Parameter | Type | Description | 
|---|---|---|
| name | string | The name of the mount for filesystem paths. By default, a random name is generated. Shouldn't exceed 31 characters, and shouldn't have a trailing colon. | 
Returns
openBis()
static openBis(id): FileSystem
Opens a file system partition specified by its BisPartitionId.
Parameters
| Parameter | Type | Description | 
|---|---|---|
| id | number | The BisPartitionIdof the partition to open. |