mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 18:39:45 +00:00
Add MakefileDetector for text viewer
This commit is contained in:
@@ -27,8 +27,10 @@ public class XMLDetector : IFormatDetector
|
||||
|
||||
public string Extension => ".xml";
|
||||
|
||||
public bool Detect(string text)
|
||||
public bool Detect(string path, string text)
|
||||
{
|
||||
_ = path;
|
||||
|
||||
return Signature.IsMatch(text);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user