irods / python-irodsclient

A Python API for iRODS
Other
62 stars 72 forks source link

[#571] exclude collection "/" from subcollections #572

Closed d-w-moore closed 1 week ago

d-w-moore commented 1 week ago

The iRODSCollection object has a property known as subcollections which, by any reasonable standards (including at least one aimed at preventing infinite loops in collection iteration) should not include any collections pointing at the same path as (ie equivalent to) the parent collection object.

The ultimate takeaway - "/" by definition shouldn't be counted within the subcollections of any collection object.

trel commented 1 week ago

looks good to me.

d-w-moore commented 1 week ago

Now #'d