mirror of
https://github.com/pgsty/minio.git
synced 2026-03-17 07:25:10 +01:00
Rewrite parentIsObject() function. Currently if a client uploads a/b/c/d, we always check if c, b, a are actual objects or not. The new code will check with the reverse order and quickly quit if the segment doesn't exist. So if a, b, c in 'a/b/c' does not exist in the first place, then returns false quickly.
5.4 KiB
5.4 KiB