MCPcopy
hub / github.com/dthree/cash / sort

Function sort

test/sort.js:8–17  ·  view source on GitHub ↗
(dir, opts)

Source from the content-addressed store, hash-verified

6const $ = require('shelljs');
7
8function sort(dir, opts) {
9 opts = opts || {};
10 opts.options = opts.options || {};
11 try {
12 return cash.sort(dir, opts);
13 } catch (e) {
14 console.log(e);
15 throw new Error(e);
16 }
17}
18
19describe('sort', function () {
20 before(function (done) {

Callers 1

sort.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected