Updated the project.
This commit is contained in:
parent
5dfe9f128d
commit
7919556077
1550 changed files with 17063 additions and 40183 deletions
0
my-app/node_modules/cacache/lib/content/path.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/content/path.js
generated
vendored
Executable file → Normal file
2
my-app/node_modules/cacache/lib/content/read.js
generated
vendored
Executable file → Normal file
2
my-app/node_modules/cacache/lib/content/read.js
generated
vendored
Executable file → Normal file
|
@ -71,7 +71,7 @@ function readStream (cache, integrity, opts = {}) {
|
|||
module.exports.copy = copy
|
||||
|
||||
function copy (cache, integrity, dest) {
|
||||
return withContentSri(cache, integrity, (cpath, sri) => {
|
||||
return withContentSri(cache, integrity, (cpath) => {
|
||||
return fs.copyFile(cpath, dest)
|
||||
})
|
||||
}
|
||||
|
|
0
my-app/node_modules/cacache/lib/content/rm.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/content/rm.js
generated
vendored
Executable file → Normal file
2
my-app/node_modules/cacache/lib/content/write.js
generated
vendored
Executable file → Normal file
2
my-app/node_modules/cacache/lib/content/write.js
generated
vendored
Executable file → Normal file
|
@ -160,7 +160,7 @@ async function makeTmp (cache, opts) {
|
|||
}
|
||||
}
|
||||
|
||||
async function moveToDestination (tmp, cache, sri, opts) {
|
||||
async function moveToDestination (tmp, cache, sri) {
|
||||
const destination = contentPath(cache, sri)
|
||||
const destDir = path.dirname(destination)
|
||||
if (moveOperations.has(destination)) {
|
||||
|
|
2
my-app/node_modules/cacache/lib/entry-index.js
generated
vendored
Executable file → Normal file
2
my-app/node_modules/cacache/lib/entry-index.js
generated
vendored
Executable file → Normal file
|
@ -240,7 +240,7 @@ async function bucketEntries (bucket, filter) {
|
|||
return _bucketEntries(data, filter)
|
||||
}
|
||||
|
||||
function _bucketEntries (data, filter) {
|
||||
function _bucketEntries (data) {
|
||||
const entries = []
|
||||
data.split('\n').forEach((entry) => {
|
||||
if (!entry) {
|
||||
|
|
0
my-app/node_modules/cacache/lib/get.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/get.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/index.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/index.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/memoization.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/memoization.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/put.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/put.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/rm.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/rm.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/util/glob.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/util/glob.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/util/hash-to-segments.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/util/hash-to-segments.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/util/tmp.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/cacache/lib/util/tmp.js
generated
vendored
Executable file → Normal file
6
my-app/node_modules/cacache/lib/verify.js
generated
vendored
Executable file → Normal file
6
my-app/node_modules/cacache/lib/verify.js
generated
vendored
Executable file → Normal file
|
@ -68,11 +68,11 @@ async function verify (cache, opts) {
|
|||
return stats
|
||||
}
|
||||
|
||||
async function markStartTime (cache, opts) {
|
||||
async function markStartTime () {
|
||||
return { startTime: new Date() }
|
||||
}
|
||||
|
||||
async function markEndTime (cache, opts) {
|
||||
async function markEndTime () {
|
||||
return { endTime: new Date() }
|
||||
}
|
||||
|
||||
|
@ -213,7 +213,7 @@ async function rebuildIndex (cache, opts) {
|
|||
return stats
|
||||
}
|
||||
|
||||
async function rebuildBucket (cache, bucket, stats, opts) {
|
||||
async function rebuildBucket (cache, bucket, stats) {
|
||||
await truncate(bucket._path)
|
||||
// This needs to be serialized because cacache explicitly
|
||||
// lets very racy bucket conflicts clobber each other.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue