Work in progress

This commit is contained in:
Alex Yatskov 2015-05-08 23:39:51 +09:00
parent 6a9ea55af6
commit 19eaa0f0d1
2 changed files with 10 additions and 2 deletions

View File

@ -23,5 +23,12 @@
package main
type Node struct {
name string
Magic uint8
Size uint64
Atime int64
Mtime int64
Ctime int64
Mode uint32
Uid uint32
Gid uint32
}

View File

@ -29,7 +29,8 @@ import (
)
type NodeTable struct {
nodes []Node
Magic uint16
Nodes []Node
}
func NewNodeTable() *NodeTable {