@celo/identity › "offchain/storage-writers" › GitStorageWriter
Class: GitStorageWriter
Hierarchy
↳ GitStorageWriter
Index
Constructors
Properties
Methods
Constructors
constructor
+ new GitStorageWriter(root
: string): GitStorageWriter
Inherited from LocalStorageWriter.constructor
Defined in packages/sdk/identity/src/offchain/storage-writers.ts:10
Parameters:
Name | Type |
---|---|
root |
string |
Returns: GitStorageWriter
Properties
Readonly
root
• root: string
Inherited from LocalStorageWriter.root
Defined in packages/sdk/identity/src/offchain/storage-writers.ts:11
Methods
write
▸ write(data
: Buffer, dataPath
: string): Promise‹void›
Overrides LocalStorageWriter.write
Defined in packages/sdk/identity/src/offchain/storage-writers.ts:26
Parameters:
Name | Type |
---|---|
data |
Buffer |
dataPath |
string |
Returns: Promise‹void›