[pbs-devel] [RFC PATCH proxmox-backup 1/5] api2/admin/datastore: refactor list_dir_content in catalog_reader

Dominik Csapak d.csapak at proxmox.com
Tue Dec 22 08:52:43 CET 2020


[snip]

> 
> But this is API code, so we should find another place for this.

Sounds reasonable to me, any suggestions?
The reason i put it there was that i want to use it from api as well as 
the client.
Or is it ok to use code from src/api2/ in the client? (i thought not)

> 
>> +
>> +        Ok(res)
>> +    }
>> +
>>       /// Finds all entries matching the given match patterns and calls the
>>       /// provided callback on them.
>>       pub fn find(
>> -- 
>> 2.20.1
>>
>>
>>
>> _______________________________________________
>> pbs-devel mailing list
>> pbs-devel at lists.proxmox.com
>> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel





More information about the pbs-devel mailing list