Skip to content

Commit 5e6c602

Browse files
author
nicola
committed
add TODO for uriToFilename
1 parent 82cfbf5 commit 5e6c602

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎lib/utils.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ var turtleExtension = ".ttl";
99
function uriToFilename(uri, base) {
1010
var filename = path.join(base, uri);
1111
// Make sure filename ends with '/' if filename exists and is a directory.
12+
13+
// TODO this sync operation can be avoided and can be left
14+
// to do, to other components, see `ldp.get`
1215
try {
1316
var fileStats = fs.statSync(filename);
1417
if (fileStats.isDirectory() && !S(filename).endsWith('/')) {

0 commit comments

Comments
 (0)