GitUtils.readFileAtRef()
Home > @backstage/cli-node > GitUtils > readFileAtRef
Returns the contents of a file at a specific ref.
Signature:
static readFileAtRef(path: string, ref: string): Promise<string>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
path |
string | |
|
ref |
string |
Promise<string>