ctl icon indicating copy to clipboard operation
ctl copied to clipboard

What is the purpose of inCwd() - all my files are absolutely referenced

Open jcward opened this issue 6 years ago • 1 comments

In my project, the inCwd() function is always returning false, as all files happen to be referenced with absolute paths.

I see that inCwd is excluding absolute paths, but what is the purpose of that? To exclude other libraries? Or the Haxe std library?

I assume that it's not standard practice to reference all class paths absolutely, so this problem probably doesn't affect a lot of people...

jcward avatar Apr 09 '18 13:04 jcward

Ah, yeah ... well, it seemed reasonable to me to assume that the code you're working on is in your working directory. But everybody has their particular tastes.

Skipping the std lib wouldn't be hard. As for 3rd party libraries, it's a different matter. But I could split the report by class paths. It might actually be interesting how much of the 3rd party code in your build is not actually being used ^^

back2dos avatar Apr 09 '18 15:04 back2dos