You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initial development of vfs tried to constrain functionality to what we could accomplish in all filesystems we could think of (ie., unix os, windows os, AWS S3, Google Storage, Azure Blob storage, SFTP, etc). We decided that when default behaviors between filesystems conflicted, we'd choose the os behavior as pattern we'd most closely follow. Along with this, we borrowed some terminology from os that may not apply everywhere, including File, Volume, ChangeDir. However, as it turns out, that while our use of URI as the means for resource locating has worked extremely well, the terms Volume and ChangeDir are not universally applicable.
In the pattern above, for sftp (and ftp) authority is user + host + port. For s3 and gs the authority is a bucket. For mem, namespaces are the optional authority. For os (mainly for windows, unix doesn't distinguish between volumes and directories), it is optionally a volume or mount.
ChangeDir
ChangeDir(relLocPath) is the only place we actually use the term "Dir" (vs Location). It updates the existing Location's path to the provided relative location path. As far as I can see, its behavior is redundant.
We can accomplish the same thing by doing:
Initial development of vfs tried to constrain functionality to what we could accomplish in all filesystems we could think of (ie., unix os, windows os, AWS S3, Google Storage, Azure Blob storage, SFTP, etc). We decided that when default behaviors between filesystems conflicted, we'd choose the os behavior as pattern we'd most closely follow. Along with this, we borrowed some terminology from os that may not apply everywhere, including
File
,Volume
,ChangeDir
. However, as it turns out, that while our use of URI as the means for resource locating has worked extremely well, the termsVolume
andChangeDir
are not universally applicable.Volume
In the pattern above, for sftp (and ftp) authority is user + host + port. For s3 and gs the authority is a bucket. For mem, namespaces are the optional authority. For os (mainly for windows, unix doesn't distinguish between volumes and directories), it is optionally a volume or mount.
ChangeDir
ChangeDir(relLocPath) is the only place we actually use the term "Dir" (vs Location). It updates the existing Location's path to the provided relative location path. As far as I can see, its behavior is redundant.
We can accomplish the same thing by doing:
Proposed
The text was updated successfully, but these errors were encountered: