Is it possible for the Google Drive folder structure to contain a loop?

I am currently writing a function to iterate through the Google Drive folder and all subfiles and folders on a Node.js server using the Google Drive API v3. I know that Google Drive allows users to add multiple links to the same file / folder using Shift + Z, but it does not allow users to add a link within itself. Regardless, I am left to wonder if this could happen.

Programmer Art

I would prefer iterating through a tree versus a pie chart.

In short, positive circular dependencies don't exist in Google Drive?

+3


source to share


1 answer


You can create it by adding a shared folder (C) to a folder (B) that you previously shared with someone who put it in a folder (D), who then shared it with you. When you add it to your google drive as a folder inside (C)



0


source







All Articles