Methods
(async) addActor(options)
Allow access for list of actors to type level of access
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
(async) create()
Create bucket if it does not exist
(async) exists() → {boolean}
Check if all metadata exists on disk
Returns:
- Type
- boolean
(async) file(name) → {File}
Get a file instance
Parameters:
Name | Type | Description |
---|---|---|
name |
string | File path |
Returns:
- Type
- File
(async) getIndex() → {gpgfs_model.bucket_index}
Bucket index
Returns:
- Type
- gpgfs_model.bucket_index
(async) getMetadata() → {gpgfs_model.bucket_meta}
Bucket metadata
Returns:
- Type
- gpgfs_model.bucket_meta
(async) indexFile(file)
Parameters:
Name | Type | Description |
---|---|---|
file |
File |
(async) open()
Open and read metadata