aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PursLoader/Path.js
blob: 878f25696fc0ff0116525bc458b0922c10258238 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
'use strict'

// module PursLoader.Path

var path = require('path');

function relative(from) {
  return function(to){
    return path.relative(from, to);
  };
}
exports.relative = relative;


function joinPath(a) {
  return function(b) {
    return path.join(a, b);
  };
}
exports.joinPath = joinPath;

exports.resolve = path.resolve;

exports.dirname = path.dirname;