getDocFilesFromRepository()
Home > @backstage/plugin-techdocs-node
> getDocFilesFromRepository
Returns a preparer response PreparerResponse
Signature:
getDocFilesFromRepository: (reader: UrlReaderService, entity: Entity, opts?: {
etag?: string;
logger?: LoggerService;
}) => Promise<PreparerResponse>
Parameters
Parameter |
Type |
Description |
---|---|---|
reader |
Read a tree of files from a repository | |
entity |
A TechDocs entity instance | |
opts |
{ etag?: string; logger?: LoggerService; } |
(Optional) Options for configuring the reader, e.g. logger, etag, etc. |
Promise<PreparerResponse>