MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / GetHashKey

Method GetHashKey

src/Squirrel/MarkdownSharp.cs:700–704  ·  view source on GitHub ↗
(string s, bool isHtmlBlock)

Source from the content-addressed store, hash-verified

698 }
699
700 private static string GetHashKey(string s, bool isHtmlBlock)
701 {
702 var delim = isHtmlBlock ? 'H' : 'E';
703 return "\x1A" + delim + Math.Abs(s.GetHashCode()).ToString() + delim;
704 }
705
706 private static Regex _htmlTokens = new Regex(@"
707 (<!--(?:|(?:[^>-]|-[^>])(?:[^-]|-[^-])*)-->)| # match <!-- foo -->

Callers

nothing calls this directly

Calls 1

ToStringMethod · 0.45

Tested by

no test coverage detected