source:
trip-planner-front/node_modules/cacache/lib/util/hash-to-segments.js
Last change on this file was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 143 bytes |
Line | |
---|---|
1 | 'use strict' |
2 | |
3 | module.exports = hashToSegments |
4 | |
5 | function hashToSegments (hash) { |
6 | return [hash.slice(0, 2), hash.slice(2, 4), hash.slice(4)] |
7 | } |
Note:
See TracBrowser
for help on using the repository browser.