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
storage: extract id or name conflict check into function
Make it reusable for other callers, see next commit.
Also while at it remove the dedupeStrings() call, as pointed out by
Miloslav the work it is doing is more expensive than just checking the
same name several times as it does a O(1) map lookup. Also most callers
won't pass duplicated names to begin with.
Signed-off-by: Paul Holzinger <[email protected]>
0 commit comments