Exemple #1
0
 private static void write(
     UnclassifiedEntry <TData> entry,
     StringBuilder builder,
     int nesting,
     Action <StringBuilder, Entry <TData> > onAppend)
 {
     builder.Append('\t', repeatCount: nesting).Append(entry.Name).Append("?");
     onAppend?.Invoke(builder, entry);
     builder.AppendLine();
 }
Exemple #2
0
        private void classifyEntry(UnclassifiedEntry <Metadata> unclassified)
        {
            string path = unclassified.GetPath();

            var entryType = getEntryType(path);

            if (entryType.HasValue)
            {
                entryFound(new Find(entryType.Value, path));
            }
        }