public bool CanBeIncluded(string relativePath) { if (excludes.Count > 0 && IsExcludedPath(relativePath)) { return false; } if (includes.Count > 0 && IsIncludedPath(relativePath)) { return true; } return !IsSpecialPath(relativePath); }