serializeDirectoryContents()
Home > @backstage/plugin-scaffolder-node
> serializeDirectoryContents
Signature:
function serializeDirectoryContents(sourcePath: string, options?: {
gitignore?: boolean;
globPatterns?: string[];
}): Promise<SerializedFile[]>;
Parameters
Parameter |
Type |
Description |
---|---|---|
sourcePath |
string | |
options |
{ gitignore?: boolean; globPatterns?: string[]; } |
(Optional) |
Promise<SerializedFile[]>