()
| 25 | } |
| 26 | |
| 27 | func (v *Repository) ClearInternalIgnoreRules() error { |
| 28 | runtime.LockOSThread() |
| 29 | defer runtime.UnlockOSThread() |
| 30 | |
| 31 | ret := C.git_ignore_clear_internal_rules(v.ptr) |
| 32 | runtime.KeepAlive(v) |
| 33 | if ret < 0 { |
| 34 | return MakeGitError(ret) |
| 35 | } |
| 36 | return nil |
| 37 | } |
| 38 | |
| 39 | func (v *Repository) IsPathIgnored(path string) (bool, error) { |
| 40 | var ignored C.int |
nothing calls this directly
no test coverage detected