mirror of
https://git.aramjonghu.nl/AramJonghu/file-organizer.git
synced 2026-06-07 01:48:24 +02:00
finished?
This commit is contained in:
@@ -33,12 +33,10 @@ pub fn classify(name: []const u8) Category {
|
||||
for (entry.extensions) |ext| {
|
||||
const eicDocument = std.ascii.eqlIgnoreCase(extension, ext);
|
||||
if (eicDocument) {
|
||||
std.debug.print("{s} found!\n", .{@tagName(entry.category)});
|
||||
return entry.category;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
std.debug.print("no compatible extensions found! \n", .{});
|
||||
return .other;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user