class Build::Files::Path

def match(pattern, flags = 0)

Match a path with a given pattern, using `File#fnmatch`.
def match(pattern, flags = 0)
	path = pattern.start_with?('/') ? full_path : relative_path
	
	return File.fnmatch(pattern, path, flags)
end