GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add clarifying comments · github/codeql-action@9cfb67b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • database-upload.ts
    • util.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/database-upload.ts‎

Copy file name to clipboardExpand all lines: src/database-upload.ts
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ async function recordClearCleanupSizes(
205205
reports: DatabaseUploadResult[],
206206
logger: Logger,
207207
): Promise<void> {
208+
// Include both the cleanup and the re-bundling to record how much time taking this measurement adds
209+
// to the run.
208210
const startTime = performance.now();
209211

210212
try {
Collapse file

‎src/util.ts‎

Copy file name to clipboardExpand all lines: src/util.ts
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,13 @@ export function getBaseDatabaseOidsFilePath(config: Config): string {
712712
return path.join(config.dbLocation, BASE_DATABASE_OIDS_FILE_NAME);
713713
}
714714

715-
// Create a bundle for the given DB, if it doesn't already exist
715+
/**
716+
* Bundles the database for the given language into a `.zip` file, returning the path to it.
717+
*
718+
* If a bundle for `dbName` already exists (e.g. from an earlier call), it is deleted and
719+
* re-created, so each call produces a fresh bundle reflecting the current database contents and the
720+
* given `includeDiagnostics` value.
721+
*/
716722
export async function bundleDb(
717723
config: Config,
718724
language: Language,

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.