From 40b96ced435f5599be4a4b0614aa492a6b59e9d4 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Sun, 12 Mar 2017 17:20:15 -0300 Subject: [PATCH] Delete not used function --- read_taskfile.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/read_taskfile.go b/read_taskfile.go index e76df86f..5d063b08 100644 --- a/read_taskfile.go +++ b/read_taskfile.go @@ -4,8 +4,6 @@ import ( "encoding/json" "fmt" "io/ioutil" - "os" - "runtime" "github.com/BurntSushi/toml" @@ -45,14 +43,3 @@ func readTaskfileData(path string) (tasks map[string]*Task, err error) { } return nil, taskFileNotFound{path} } - -func exists(path string) (bool, error) { - _, err := os.Stat(path) - if err == nil { - return true, nil - } - if os.IsNotExist(err) { - return false, nil - } - return true, err -}