feat(providence-analytics): expose relative-source-path utils

This commit is contained in:
Thijs Louisse 2022-09-26 15:02:18 +02:00 committed by Thomas Allmer
parent f7fc7df349
commit 5925364ffe

View file

@ -2,10 +2,15 @@ const {
getSourceCodeFragmentOfDeclaration, getSourceCodeFragmentOfDeclaration,
getFilePathOrExternalSource, getFilePathOrExternalSource,
} = require('./get-source-code-fragment-of-declaration.js'); } = require('./get-source-code-fragment-of-declaration.js');
const { memoize } = require('./memoize.js');
const { toRelativeSourcePath, isRelativeSourcePath } = require('./relative-source-path.js');
// TODO: move trackdownIdentifier to utils as well // TODO: move trackdownIdentifier to utils as well
module.exports = { module.exports = {
memoize,
getSourceCodeFragmentOfDeclaration, getSourceCodeFragmentOfDeclaration,
getFilePathOrExternalSource, getFilePathOrExternalSource,
toRelativeSourcePath,
isRelativeSourcePath,
}; };