[diffoscope] 01/01: Add support for AR archives (including Rust .rlib files)

Ximin Luo infinity0 at debian.org
Tue Jul 19 03:37:00 CEST 2016


Jérémy Bobbio:
> Ximin Luo:
>>  class RequiredToolNotFound(Exception):
>> -    PROVIDERS = { 'bzip2':      { 'debian': 'bzip2'
>> +    PROVIDERS = { 'ar':         { 'debian': 'ar'
>> +                                , 'arch': 'ar' }
> 
> Why?
> 
>> +class ArContainer(LibarchiveContainer):
> 
> As far as I can see, you are never using `ar` but libarchive.
> 

I just copied what "tar" did. I later realised that indeed perhaps this was necessary, but then thought perhaps libarchive uses tar/ar internally so that it actually is needed. Shall I get rid of them?

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git


More information about the diffoscope mailing list