1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-18 16:14:26 +00:00
gitea/services/repository/files
wxiaoguang 124b072f0b
Remove git.Command.Run and git.Command.RunInDir* (#19280)
Follows #19266, #8553, Close #18553, now there are only three `Run..(&RunOpts{})` functions.
 * before: `stdout, err := RunInDir(path)`
 * now: `stdout, _, err := RunStdString(&git.RunOpts{Dir:path})`
2022-04-01 10:55:30 +08:00
..
cherry_pick.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
commit.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
content_test.go Set is_empty in fixtures (#18869) 2022-02-26 01:15:25 -05:00
content.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
delete.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
diff_test.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
diff.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
file_test.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
file.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
patch.go Remove git.Command.Run and git.Command.RunInDir* (#19280) 2022-04-01 10:55:30 +08:00
temp_repo.go Remove git.Command.Run and git.Command.RunInDir* (#19280) 2022-04-01 10:55:30 +08:00
tree_test.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
tree.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
update.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
upload.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00