Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Sort ¶
Sort by name first then with special order. Special order should be generated by the order package.
This is based on how gitignore.io sorts the result: https://github.com/toptal/gitignore.io/blob/83dbcff2f7e3e084807ab64f7b545d256df7ca64/Sources/App/RouteHandlers/APIRouteHandlers.swift#L131-L132
Types ¶
type IgnoreFile ¶
type IgnoreFile struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.