Fetch retrieve updates from a remote This does not change the local entity state
(def Definition, repo repository.Repo, remote string)
| 22 | // Fetch retrieve updates from a remote |
| 23 | // This does not change the local entity state |
| 24 | func Fetch(def Definition, repo repository.Repo, remote string) (string, error) { |
| 25 | return repo.FetchRefs(remote, def.Namespace) |
| 26 | } |
| 27 | |
| 28 | // Push update a remote with the local changes |
| 29 | func Push(def Definition, repo repository.Repo, remote string) (string, error) { |