Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: cwd option #51

Closed
ozum opened this issue Feb 6, 2021 · 2 comments
Closed

Feature Request: cwd option #51

ozum opened this issue Feb 6, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@ozum
Copy link

ozum commented Feb 6, 2021

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,

@DominikLevitsky
Copy link

+1

@thecodrr
Copy link
Owner

thecodrr commented Apr 1, 2021

I will look into this for sure.

@thecodrr thecodrr added the enhancement New feature or request label Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants