irods / python-irodsclient

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

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

Closed d-w-moore closed 5 months ago

d-w-moore commented 5 months 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 5 months ago

looks good to me.

d-w-moore commented 5 months ago

Now #'d