drop unused
parent
760c822323
commit
cdd1be46a8
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue