Method
configuration
(object?: Record<string, unknown> | null)
Source from the content-addressed store, hash-verified
| 152 | } |
| 153 | |
| 154 | configuration(object?: Record<string, unknown> | null): Record<string, unknown> | undefined { |
| 155 | if (object) { |
| 156 | Object.assign(this._config, object); |
| 157 | return this._config; |
| 158 | } |
| 159 | if (object === null) { |
| 160 | return undefined; |
| 161 | } |
| 162 | return this._config; |
| 163 | } |
| 164 | |
| 165 | async rename(_name: string): Promise<void> { |
| 166 | // Not applicable for filesystem storage |
Tested by
no test coverage detected