hello kitty
This commit is contained in:
@@ -19,9 +19,10 @@ namespace file_finder__test
|
||||
// Step 2: Classify the files
|
||||
var musicExtensions = new List<string> { ".mp3", ".wav" };
|
||||
var videoExtensions = new List<string> { ".mp4", ".mkv" };
|
||||
var photoExtensions = new List<string> { ".jpg", ".img" };
|
||||
|
||||
var classifier = new FileClassifier();
|
||||
var (musicFiles, videoFiles) = await classifier.ClassifyFilesAsync(allFiles, musicExtensions, videoExtensions);
|
||||
var (musicFiles, videoFiles,photoFiles) = await classifier.ClassifyFilesAsync(allFiles, musicExtensions, videoExtensions, photoExtensions);
|
||||
Console.Clear();
|
||||
// Step 3: Use the results (e.g. print)
|
||||
//foreach (var music in musicFiles) Console.WriteLine(music);
|
||||
|
||||
Reference in New Issue
Block a user