drop unused
This commit is contained in:
@@ -12,11 +12,6 @@ type Root struct {
|
|||||||
Done []Todo
|
Done []Todo
|
||||||
}
|
}
|
||||||
|
|
||||||
func VerifyRootFromFile(p string) error {
|
|
||||||
_, err := NewRootFromFile(p)
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewRootFromFile(p string) (Root, error) {
|
func NewRootFromFile(p string) (Root, error) {
|
||||||
f, err := os.Open(p)
|
f, err := os.Open(p)
|
||||||
if os.IsNotExist(err) {
|
if os.IsNotExist(err) {
|
||||||
|
|||||||
Reference in New Issue
Block a user