Skip to content

Commit

Permalink
Fix hound length warning
Browse files Browse the repository at this point in the history
  • Loading branch information
spekke committed Dec 20, 2020
1 parent ac7f35a commit dc6a307
Showing 1 changed file with 48 additions and 16 deletions.
64 changes: 48 additions & 16 deletions SwiftGit2/Objects.swift
Original file line number Diff line number Diff line change
Expand Up @@ -230,20 +230,52 @@ public struct StatusOptions: OptionSet {
self.rawValue = rawValue
}

public static let includeUntracked = StatusOptions(rawValue: GIT_STATUS_OPT_INCLUDE_UNTRACKED.rawValue)
public static let includeIgnored = StatusOptions(rawValue: GIT_STATUS_OPT_INCLUDE_IGNORED.rawValue)
public static let includeUnmodified = StatusOptions(rawValue: GIT_STATUS_OPT_INCLUDE_UNMODIFIED.rawValue)
public static let excludeSubmodules = StatusOptions(rawValue: GIT_STATUS_OPT_EXCLUDE_SUBMODULES.rawValue)
public static let recurseUntrackedDirs = StatusOptions(rawValue: GIT_STATUS_OPT_RECURSE_UNTRACKED_DIRS.rawValue)
public static let disablePathSpecMatch = StatusOptions(rawValue: GIT_STATUS_OPT_DISABLE_PATHSPEC_MATCH.rawValue)
public static let recurseIgnoredDirs = StatusOptions(rawValue: GIT_STATUS_OPT_RECURSE_IGNORED_DIRS.rawValue)
public static let renamesHeadToIndex = StatusOptions(rawValue: GIT_STATUS_OPT_RENAMES_HEAD_TO_INDEX.rawValue)
public static let renamesIndexToWorkDir = StatusOptions(rawValue: GIT_STATUS_OPT_RENAMES_INDEX_TO_WORKDIR.rawValue)
public static let sortCasesSensitively = StatusOptions(rawValue: GIT_STATUS_OPT_SORT_CASE_SENSITIVELY.rawValue)
public static let sortCasesInSensitively = StatusOptions(rawValue: GIT_STATUS_OPT_SORT_CASE_INSENSITIVELY.rawValue)
public static let renamesFromRewrites = StatusOptions(rawValue: GIT_STATUS_OPT_RENAMES_FROM_REWRITES.rawValue)
public static let noRefresh = StatusOptions(rawValue: GIT_STATUS_OPT_NO_REFRESH.rawValue)
public static let updateIndex = StatusOptions(rawValue: GIT_STATUS_OPT_UPDATE_INDEX.rawValue)
public static let includeUnreadable = StatusOptions(rawValue: GIT_STATUS_OPT_INCLUDE_UNREADABLE.rawValue)
public static let includeUnreadableAsUntracked = StatusOptions(rawValue: GIT_STATUS_OPT_INCLUDE_UNREADABLE_AS_UNTRACKED.rawValue)
public static let includeUntracked = StatusOptions(
rawValue: GIT_STATUS_OPT_INCLUDE_UNTRACKED.rawValue
)
public static let includeIgnored = StatusOptions(
rawValue: GIT_STATUS_OPT_INCLUDE_IGNORED.rawValue
)
public static let includeUnmodified = StatusOptions(
rawValue: GIT_STATUS_OPT_INCLUDE_UNMODIFIED.rawValue
)
public static let excludeSubmodules = StatusOptions(
rawValue: GIT_STATUS_OPT_EXCLUDE_SUBMODULES.rawValue
)
public static let recurseUntrackedDirs = StatusOptions(
rawValue: GIT_STATUS_OPT_RECURSE_UNTRACKED_DIRS.rawValue
)
public static let disablePathSpecMatch = StatusOptions(
rawValue: GIT_STATUS_OPT_DISABLE_PATHSPEC_MATCH.rawValue
)
public static let recurseIgnoredDirs = StatusOptions(
rawValue: GIT_STATUS_OPT_RECURSE_IGNORED_DIRS.rawValue
)
public static let renamesHeadToIndex = StatusOptions(
rawValue: GIT_STATUS_OPT_RENAMES_HEAD_TO_INDEX.rawValue
)
public static let renamesIndexToWorkDir = StatusOptions(
rawValue: GIT_STATUS_OPT_RENAMES_INDEX_TO_WORKDIR.rawValue
)
public static let sortCasesSensitively = StatusOptions(
rawValue: GIT_STATUS_OPT_SORT_CASE_SENSITIVELY.rawValue
)
public static let sortCasesInSensitively = StatusOptions(
rawValue: GIT_STATUS_OPT_SORT_CASE_INSENSITIVELY.rawValue
)
public static let renamesFromRewrites = StatusOptions(
rawValue: GIT_STATUS_OPT_RENAMES_FROM_REWRITES.rawValue
)
public static let noRefresh = StatusOptions(
rawValue: GIT_STATUS_OPT_NO_REFRESH.rawValue
)
public static let updateIndex = StatusOptions(
rawValue: GIT_STATUS_OPT_UPDATE_INDEX.rawValue
)
public static let includeUnreadable = StatusOptions(
rawValue: GIT_STATUS_OPT_INCLUDE_UNREADABLE.rawValue
)
public static let includeUnreadableAsUntracked = StatusOptions(
rawValue: GIT_STATUS_OPT_INCLUDE_UNREADABLE_AS_UNTRACKED.rawValue
)
}

0 comments on commit dc6a307

Please sign in to comment.