Beispiel #1
0
        public async Task DownloadAndDecompress(string sysroot, bool overwrite, bool ignoreCached = false)
        {
            // TODO: Bust cache if it's been too long or hash doesn't match anymore
            // TODO: do we need the control files for anything? it does have the md5sums in there

            var reader = new DebReader(await GetPackageFile(ignoreCached));

            reader.DecompressData(sysroot, overwrite, HandleLibrarySymlinks);
        }
Beispiel #2
0
        public async Task <IEnumerable <string> > GetFileList()
        {
            var reader = new DebReader(await GetPackageFile(false));

            return(reader.GetDataFileList());
        }