The examples in the sample notebook and README were written using v 0.1.0.
Some of the examples in the notebook and README pass a ref parameter argument for the tokenizedGlob parameter on the GlobTokenizer.Tokenize method, which is defined as an in parameter.
For example:
public static void TokenizeAGlobExample(string pattern)
{
Span<GlobToken> tokenizedGlob = stackalloc GlobToken[pattern.Length];
int tokenCount = Corvus.Globbing.GlobTokenizer.Tokenize(pattern, ref tokenizedGlob);
Console.WriteLine($"Number of glob tokens created:\t{tokenCount}");
}
The examples in the sample notebook and README were written using v 0.1.0.
Some of the examples in the notebook and README pass a
ref
parameter argument for thetokenizedGlob
parameter on theGlobTokenizer.Tokenize
method, which is defined as anin
parameter.For example: