Sha256: ed10c878cb3c2b8570a32954b52da3c49539549f64e36b3ce3ab38d7e524bf19

Contents?: true

Size: 143 Bytes

Versions: 84

Compression:

Stored size: 143 Bytes

Contents

'use strict'

module.exports = hashToSegments

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

Version data entries

84 entries across 49 versions & 7 rubygems

Version Path
tang-0.2.0 spec/tang_app/node_modules/cacache/lib/util/hash-to-segments.js
tang-0.1.0 spec/tang_app/node_modules/cacache/lib/util/hash-to-segments.js
tang-0.0.9 spec/tang_app/node_modules/cacache/lib/util/hash-to-segments.js
enju_library-0.3.8 spec/dummy/node_modules/cacache/lib/util/hash-to-segments.js