3 references to Hash
NativeIntegrations.DockerCompose (3)
DockerComposeEnvironment.cs (1)
110file.Name += "-" + Hash(originalName);
DockerComposeGenerator.cs (2)
21var identity = Hash(ComposeJson.Json(new JsonArray(directory, environmentName, name))); 567internal static string ServiceName(string value) => Regex.IsMatch(value, "^[a-z0-9][a-z0-9-]{0,62}$", RegexOptions.CultureInvariant) ? value : $"{Slug(value)}-{Hash(value)}";