Documentation
¶
Index ¶
- type FilterOptions
- type Result
- func (r *Result) CheckIfFilePathInsideSubmodule(relPath string) (bool, bool, string)
- func (r *Result) FilePathList(options FilterOptions) []string
- func (r *Result) IsFileModified(relPath string, options FilterOptions) bool
- func (r *Result) Status(ctx context.Context, pathMatcher path_matcher.PathMatcher) (*Result, error)
- type SubmoduleResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilterOptions ¶ added in v1.2.2
type Result ¶
type Result struct {
// contains filtered or unexported fields
}
func Status ¶
func Status(ctx context.Context, repository *git.Repository, repositoryAbsFilepath string, pathMatcher path_matcher.PathMatcher) (*Result, error)
func (*Result) CheckIfFilePathInsideSubmodule ¶ added in v1.2.5
func (*Result) FilePathList ¶ added in v1.2.2
func (r *Result) FilePathList(options FilterOptions) []string
FilePathList method returns file paths relative to the main repository
func (*Result) IsFileModified ¶ added in v1.2.5
func (r *Result) IsFileModified(relPath string, options FilterOptions) bool
func (*Result) Status ¶
func (r *Result) Status(ctx context.Context, pathMatcher path_matcher.PathMatcher) (*Result, error)
type SubmoduleResult ¶
type SubmoduleResult struct { *Result *git.SubmoduleStatus }
Click to show internal directories.
Click to hide internal directories.