Add getAbsoluteAttachmentPath
This commit is contained in:
parent
e2a2165d9c
commit
f56dc09d01
2 changed files with 6 additions and 0 deletions
|
@ -123,3 +123,7 @@ exports.getRelativePath = (name) => {
|
|||
const prefix = name.slice(0, 2);
|
||||
return path.join(prefix, name);
|
||||
};
|
||||
|
||||
// createAbsolutePathGetter :: RoothPath -> RelativePath -> AbsolutePath
|
||||
exports.createAbsolutePathGetter = rootPath => relativePath =>
|
||||
path.join(rootPath, relativePath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue