fn blocking_list()

in core/src/layers/immutable_index.rs [203:221]


    fn blocking_list(&self, path: &str, args: OpList) -> Result<(RpList, Self::BlockingPager)> {
        let mut path = path;
        if path == "/" {
            path = ""
        }

        let idx = if args.delimiter() == "/" {
            self.children_hierarchy(path)
        } else if args.delimiter().is_empty() {
            self.children_flat(path)
        } else {
            return Err(Error::new(
                ErrorKind::Unsupported,
                &format!("delimiter {} is not supported", args.delimiter()),
            ));
        };

        Ok((RpList::default(), ImmutableDir::new(idx)))
    }