private bool ShouldPrimeNugetCache() { return(ShouldRunFirstRunExperience() && !_nugetCacheSentinel.Exists() && !_nugetCacheSentinel.InProgressSentinelAlreadyExists() && !_nugetCachePrimer.SkipPrimingTheCache()); }
private bool PermissionExists(INuGetCacheSentinel sentinel) { if (sentinel == null) { return(false); } return(sentinel.Exists()); }
private bool ShouldPrimeNugetCache() { var skipFirstTimeExperience = _environmentProvider.GetEnvironmentVariableAsBool("DOTNET_SKIP_FIRST_TIME_EXPERIENCE", false); return(!skipFirstTimeExperience && !_nugetCacheSentinel.Exists() && !_nugetCacheSentinel.InProgressSentinelAlreadyExists()); }
private bool PermissionExists(INuGetCacheSentinel sentinel) { if (sentinel == null) { return false; } return sentinel.Exists(); }