Add handling of B_PACAKGE_INFO_CHECKSUM to PackageInfoPrinter.

This commit is contained in:
Oliver Tappe 2013-09-17 17:54:17 +02:00
parent 6dee6653c2
commit 30a517bc64

View File

@ -207,6 +207,10 @@ public:
PrintInstallPath(value.string);
break;
case B_PACKAGE_INFO_CHECKSUM:
PrintChecksum(value.string);
break;
default:
return false;
}
@ -381,6 +385,11 @@ public:
printf("\tinstall path: %s\n", path);
}
void PrintChecksum(const char* checksum) const
{
printf("\tchecksum: %s\n", checksum);
}
private:
void _PrintResolvableExpression(const char* fieldName,
const BPackageResolvableExpression& expression) const