]>
Commit | Line | Data |
---|---|---|
03b840cb | 1 | 'use strict' |
2 | ||
63d6a244 | 3 | // module PursLoader.Path |
03b840cb | 4 | |
5 | var path = require('path'); | |
6 | ||
03b840cb | 7 | function relative(from) { |
8 | return function(to){ | |
9 | return path.relative(from, to); | |
10 | }; | |
11 | } | |
63d6a244 | 12 | exports.relative = relative; |
13 | ||
03b840cb | 14 | |
2b620717 NF |
15 | function joinPath(a) { |
16 | return function(b) { | |
17 | return path.join(a, b); | |
18 | }; | |
19 | } | |
2b620717 NF |
20 | exports.joinPath = joinPath; |
21 | ||
07de44be | 22 | exports.resolve = path.resolve; |
2b620717 NF |
23 | |
24 | exports.dirname = path.dirname; |