aboutsummaryrefslogblamecommitdiffhomepage
path: root/src/PursLoader/Path.js
blob: 878f25696fc0ff0116525bc458b0922c10258238 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

            
                         


                           




                                   

                            
 




                           

                            
                               

                               
'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;