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

Is getroot part of the API? #11

Closed
piever opened this issue Jan 14, 2022 · 2 comments · Fixed by #13
Closed

Is getroot part of the API? #11

piever opened this issue Jan 14, 2022 · 2 comments · Fixed by #13

Comments

@piever
Copy link
Contributor

piever commented Jan 14, 2022

Hello! I've been trying to use this to support making apps based on JSServe, see SimonDanisch/Bonito.jl#117.

I would like to just compute the extension of a file stored as a RelocatableFolders.Path, without triggering the string conversion logic. I've found that getroot does exactly that (see here), but it seems to be an internal function. Could it become part of the API?

@MichaelHatherly
Copy link
Collaborator

I'm fine with exporting getroot if it's useful.

@piever
Copy link
Contributor Author

piever commented Jan 14, 2022

Yes, that would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants