PHP 8.2.30
Preview: hash-to-segments.js Size: 159 B
/proc/self/root/proc/thread-self/root/lib/node_modules/npm/node_modules/cacache/lib/util/hash-to-segments.js

'use strict'

module.exports = hashToSegments

function hashToSegments (hash) {
  return [
    hash.slice(0, 2),
    hash.slice(2, 4),
    hash.slice(4)
  ]
}

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
3.22 KB lrw-r--r-- 2021-03-10 14:36:36
Edit Download
159 B lrw-r--r-- 2021-03-10 14:36:36
Edit Download
1.72 KB lrw-r--r-- 2021-03-10 14:36:36
Edit Download
879 B lrw-r--r-- 2021-03-10 14:36:36
Edit Download
538 B lrw-r--r-- 2021-03-10 14:36:36
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).