File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -400,6 +400,11 @@ export async function isAnalyzingDefaultBranch(): Promise<boolean> {
400400 return currentRef === defaultBranch ;
401401}
402402
403+ /**
404+ * Gets a list of all tracked files in the repository.
405+ *
406+ * @param workingDirectory The working directory, which is part of a Git repository.
407+ */
403408export async function listFiles ( workingDirectory : string ) : Promise < string [ ] > {
404409 const stdout = await runGitCommand (
405410 workingDirectory ,
@@ -409,6 +414,11 @@ export async function listFiles(workingDirectory: string): Promise<string[]> {
409414 return stdout . split ( os . EOL ) ;
410415}
411416
417+ /**
418+ * Gets a list of files that have the `linguist-generated: true` attribute.
419+ *
420+ * @param workingDirectory The working directory, which is part of a Git repository.
421+ */
412422export async function getGeneratedFiles (
413423 workingDirectory : string ,
414424) : Promise < string [ ] > {
You can’t perform that action at this time.
0 commit comments