-
Notifications
You must be signed in to change notification settings - Fork 63
When using FIleSystem.Sink, does the file path need to be complete? #446
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
Comments
@BitByAVampire, both absolute ( |
how does the api, eg sink, know whether im providing the absolute or relative path? |
There's a |
Ok smart. Now is there a way for me to get the full path of the file created if i used the sink with only a relative path? EDIT: Ah i see |
Yes, you can use |
I want to use SystemFileSystem for cross platform ios and android support. does the file path given to the sink method need to be the absolute path that you would get from say on android the
androidContext.filesDir
, or on ios theFileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first
or can i just provide the last path component, ie the filename, and the filesystem picks something for me?
Sorry if this is a dumb question.
The text was updated successfully, but these errors were encountered: