PHP 8.2.30
Preview: hash-to-segments.js Size: 143 B
/opt/alt/alt-nodejs20/root/usr/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: 3

Name Size Perms Modified Actions
222 B lrw-r--r-- 2026-02-23 03:24:41
Edit Download
143 B lrw-r--r-- 2026-02-23 03:24:41
Edit Download
696 B lrw-r--r-- 2026-02-23 03:24:41
Edit Download

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