writeLocalBuffer()
writeLocalBuffer(content, pathSegments)
function writeLocalBuffer<S>(content, ...pathSegments): Promise<void>
Write a local text file to the repository.
Type Parameters
| Type Parameter |
|---|
S extends string[] |
Parameters
| Parameter | Type |
|---|---|
content | BufferLike |
...pathSegments | S |
Returns
Promise<void>
writeLocalBuffer(content, filePath)
function writeLocalBuffer<S>(content, filePath): Promise<void>
Type Parameters
| Type Parameter |
|---|
S extends string |
Parameters
| Parameter | Type |
|---|---|
content | BufferLike |
filePath | S |
Returns
Promise<void>