How to use the @verdaccio/file-locking.unlockFile function in @verdaccio/file-locking

To help you get started, we’ve selected a few @verdaccio/file-locking 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 verdaccio / verdaccio / src / plugins / htpasswd / utils.js View on Github external
function unlock_file(name, cb) {
  locker.unlockFile(name, cb);
}
github verdaccio / verdaccio-htpasswd / src / utils.ts View on Github external
export function unlockFile(name: string, cb: Callback): void {
  locker.unlockFile(name, cb);
}
github verdaccio / verdaccio / src / lib / storage / local / local-fs.js View on Github external
const unlock_file = function(name, cb) {
  locker.unlockFile(name, cb);
};
github verdaccio / local-storage / src / local-fs.ts View on Github external
private _unlockJSON(name: string, cb: Function) {
    unlockFile(this._getStorage(name), cb);
  }
}

@verdaccio/file-locking

library that handle file locking

MIT
Latest version published 2 years ago

Package Health Score

72 / 100
Full package analysis