File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -558,11 +558,13 @@ impl PullRequest {
558558 self
559559 }
560560
561+ /// Adds a file path to filter on
561562 pub fn add_path < S : Into < String > > ( mut self , path : S ) -> Self {
562563 self . paths . push ( path. into ( ) ) ;
563564 self
564565 }
565566
567+ /// Adds a file path to not trigger on
566568 pub fn add_ignored_path < S : Into < String > > ( mut self , path : S ) -> Self {
567569 self . paths_ignore . push ( path. into ( ) ) ;
568570 self
@@ -662,11 +664,13 @@ impl PullRequestTarget {
662664 self
663665 }
664666
667+ /// Adds a file path to filter on
665668 pub fn add_path < S : Into < String > > ( mut self , path : S ) -> Self {
666669 self . paths . push ( path. into ( ) ) ;
667670 self
668671 }
669672
673+ /// Adds a file path to not trigger on
670674 pub fn add_ignored_path < S : Into < String > > ( mut self , path : S ) -> Self {
671675 self . paths_ignore . push ( path. into ( ) ) ;
672676 self
You can’t perform that action at this time.
0 commit comments