DescriptionAvoid inserting duplicated entries after creating a directory.
New entries which are passed to DirectoryContents.onNewEntries_ are determined in DorectoryContents.update, but before they are inserted in the file list, the file list may change.
When creating a new directory in Drive, this sometimes occurs.
This CL adds duplication check just before inserting entries.
BUG=423646
TEST=creating a directory in MyDrive By Ctrl-E and check if there's no duplicated folder.
Committed: https://crrev.com/2a724e66aff9c867195b21fd774fa563e315e1e2
Cr-Commit-Position: refs/heads/master@{#301335}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 8 (2 generated)
|