public bool IsDevRedirectPackage(NugetServerPackage package) { return(package.Version.SpecialVersion != null && package.Version.SpecialVersion.StartsWith("dev") && !package.Version.SpecialVersion.Contains('.')); }
public bool IsDevRedirectPackage(NugetServerPackage package) { return(package.Version.SpecialVersion?.StartsWith("dev") ?? false); }