-
Notifications
You must be signed in to change notification settings - Fork 34
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
URL objects are not populated with their parent directory information #483
Comments
Hi Mehdi, this is actually the expected behavior -- this behaves similar to the POSIX
(The SAGA spec is actually not very explicit in this respect -- it would technically allow to return fully qualified URLs...) |
Hi Andre, Although it totally makes sense to return the file name and not the full path, there is still one thing which is not clear to me. The From a developer point of view, I was expecting a |
I think I see what you say -- but our URL class is not clever enough for that: it has no notion of the context it was constructed in. But:
I agree that this should actually work:
that seems broken indeed, as the bar gets normalized to a full URL, which then translates to |
#457 is related... |
Hey Andre, is this issue address in any commit or PR? |
No, alas this is not addressed as of yet. |
I use
saga.filesystem.Directory
objects (with their corresponding sessions) to access remote directory contents. I realized that when I uselist()
method on aDirectory
instance the producedsaga.url.Url
objects do not have their parentshost
,schema
and similar information. Here is how to reproduce:If you confirm this behavior is not desired I will look at the code to fix it.
The text was updated successfully, but these errors were encountered: