Checks if the path has a specific extension.
public static bool HasExtension(this Atypical.VirtualFileSystem.Core.VFSPath path, string extension, bool ignoreCase=true);path VFSPath
The VFS path.
extension System.String
The extension to check (with or without leading dot).
ignoreCase System.Boolean
Whether to ignore case. Default is true.
System.Boolean
True if the path has the specified extension.