thecodrr/fdir

Feature Request: cwd option

ozum opened this issue · 2 comments

ozum commented

Hi,

Assuming current cwd is /Users/user/Development/project, crawl("src/target") returns:

withFullPaths(): /Users/user/Development/project/src/target/a/b/c,
withBasePath(): src/target/a/b/c,

It would be very nice to have one of the following:

  • withRelativePath(): a/b/c
  • withRelativePath("src"): target/a/b/c.

Thanks,

I will look into this for sure.