(path string)
| 459 | } |
| 460 | |
| 461 | func (self *Shell) MakeExecutable(path string) *Shell { |
| 462 | // 0755 sets the executable permission for owner, and read/execute permissions for group and others |
| 463 | err := os.Chmod(filepath.Join(self.dir, path), 0o755) |
| 464 | if err != nil { |
| 465 | panic(err) |
| 466 | } |
| 467 | |
| 468 | return self |
| 469 | } |
| 470 | |
| 471 | // Help files are located at test/files from the root the lazygit repo. |
| 472 | // E.g. You may want to create a pre-commit hook file there, then call this |
no outgoing calls
no test coverage detected