getResolvedHash = entry => {
	if (entry === null) return null;
	if (entry.resolved !== undefined) return entry.resolved;
	return entry.symlinks === undefined ? entry.hash : undefined;
}
@param {ContextHash | null} entry entry
@returns {string | null | undefined} the resolved entry