Skip to main content

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

ParameterType
contentBufferLike
...pathSegmentsS

Returns

Promise<void>

writeLocalBuffer(content, filePath)

function writeLocalBuffer<S>(content, filePath): Promise<void>

Type Parameters

Type Parameter
S extends string

Parameters

ParameterType
contentBufferLike
filePathS

Returns

Promise<void>