How to use the backfill-cache.getCacheStorageProvider function in backfill-cache

To help you get started, we’ve selected a few backfill-cache examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / backfill / packages / backfill / src / index.ts View on Github external
.strict()
      .usage(helpString)
      .alias("h", "help")
      .version(false)
      .option("audit", {
        description: "Compare files changed with those cached",
        type: "boolean"
      }).argv;

    const buildCommand = createBuildCommand(
      argv["_"],
      clearOutputFolder,
      outputFolder
    );

    const cacheStorage = getCacheStorageProvider(
      cacheStorageConfig,
      internalCacheFolder
    );

    const hasher = new Hasher(
      { packageRoot, outputFolder },
      getRawBuildCommand()
    );

    if (argv["audit"]) {
      initializeWatcher(
        packageRoot,
        internalCacheFolder,
        logFolder,
        outputFolder,
        hashGlobs

backfill-cache

Backfill Cache Providers

MIT
Latest version published 7 months ago

Package Health Score

74 / 100
Full package analysis

Popular backfill-cache functions

Similar packages