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
My understanding is that Google Drive supports having multiple parent folders for a single file. Should we mimic this with soft or hard links?
If not, how do we handle this? Having the same file listed in each parent dir could cause issues if they do rm dir1/file, because then we need to make sure we remove it from every other directory or leave it in all of those and remove the reference from dir1
Additionally -- how should folders be represented internally?
I am thinking a tree of the form:
structtree_t {
// If this is NULL then this is a leaf nodestructtree_t*children;
// If this is NULL then we have no parent folders other than /structtree_t*parents;
// A link to the actual data for this file/folderstructgd_fs_entry_t*entry;
};
My understanding is that Google Drive supports having multiple parent folders for a single file. Should we mimic this with soft or hard links?
If not, how do we handle this? Having the same file listed in each parent dir could cause issues if they do
rm dir1/file,
because then we need to make sure we remove it from every other directory or leave it in all of those and remove the reference fromdir1
Source: https://plus.google.com/103354693083460731603/posts/h1jABDzXCqD
The text was updated successfully, but these errors were encountered: