aboutsummaryrefslogtreecommitdiffstats
path: root/entity/entity_actions.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2021-01-03 23:59:25 +0100
committerMichael Muré <batolettre@gmail.com>2021-02-14 12:19:00 +0100
commit8d63c983c982f93cc48d3996d6bd097ddeeb327f (patch)
tree94d85594e11965f9780df53a5c0c2b2550c02184 /entity/entity_actions.go
parent4ef92efeb905102d37b81fafa0ac2173594ef30a (diff)
downloadgit-bug-8d63c983c982f93cc48d3996d6bd097ddeeb327f.tar.gz
WIP
Diffstat (limited to 'entity/entity_actions.go')
-rw-r--r--entity/entity_actions.go31
1 files changed, 0 insertions, 31 deletions
diff --git a/entity/entity_actions.go b/entity/entity_actions.go
deleted file mode 100644
index 34e76a62..00000000
--- a/entity/entity_actions.go
+++ /dev/null
@@ -1,31 +0,0 @@
-package entity
-
-import (
- "fmt"
-
- "github.com/MichaelMure/git-bug/repository"
-)
-
-func ListLocalIds(typename string, repo repository.RepoData) ([]Id, error) {
- refs, err := repo.ListRefs(fmt.Sprintf("refs/%s/", typename))
- if err != nil {
- return nil, err
- }
- return RefsToIds(refs), nil
-}
-
-func Fetch() {
-
-}
-
-func Pull() {
-
-}
-
-func Push() {
-
-}
-
-func Remove() error {
- panic("")
-}