Skip to content

Commit

Permalink
readDir: log with debug what path is being processed
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Sep 27, 2024
1 parent 59167d4 commit f6c5ae4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libexpr/primops.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1990,6 +1990,7 @@ static RegisterPrimOp primop_readFileType({
static void prim_readDir(EvalState & state, const PosIdx pos, Value * * args, Value & v)
{
auto path = realisePath(state, pos, *args[0]);
printTalkative("devenv readDir: '%1%'", path);

// Retrieve directory entries for all nodes in a directory.
// This is similar to `getFileType` but is optimized to reduce system calls
Expand Down

0 comments on commit f6c5ae4

Please sign in to comment.