Replies: 2 comments
-
If you mean to list "the folders" in a particular drive with a given name, for example, "MyFiles", there is no concept of folders in Deta drives. There are just files with names. The Deta drive is the key-value storage, a bucket. The key is the file name, and the value is the file itself. The file's name can have a prefix. For example, the name can look like "/abc/xyz/my_file.jpg". The "/abc/xyz" is the prefix of the name. It looks like a folder name, but it is not. You can list all the files in the drive via To list the file with a given prefix, use the Finally, it isn't possible if you want to list all the drives programmatically in the project. You need to go to Deta UI and check there visually. |
Beta Was this translation helpful? Give feedback.
-
ok thank 's for your help. i understand now the concept. |
Beta Was this translation helpful? Give feedback.
-
Dear all,
do you have a solution to list folders deta.Drive ?
cheers
Emmanuel
Beta Was this translation helpful? Give feedback.
All reactions