1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-07-05 15:18:30 +00:00

*: entry linking and keyword filter

Setting up sibling and parent relationships for entries, so they can be
easier to walk.

Also, making "keyword=value" easier to parse. This helps filtering.

Both of these ready us for checking/validating a hierarchy.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2016-03-18 13:38:32 -04:00
parent ef9ba54f10
commit 3b6cb6e117
4 changed files with 91 additions and 20 deletions

View file

@ -2,6 +2,7 @@ package mtree
import (
"io/ioutil"
"log"
"testing"
)
@ -11,6 +12,8 @@ func TestWalk(t *testing.T) {
t.Fatal(err)
}
log.Fatalf("%#v", dh)
fh, err := ioutil.TempFile("", "walk.")
if err != nil {
t.Fatal(err)