source:
trip-planner-front/node_modules/cacache/lib/util/hash-to-segments.js@
188ee53
Last change on this file since 188ee53 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 143 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 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.