Finished io/FS interface

This commit is contained in:
Caleb Gardner
2021-01-30 06:30:00 -06:00
parent 3f1b2a8d1e
commit d89153c3e2
9 changed files with 849 additions and 830 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ type EntryRaw struct {
type Entry struct {
Name string
InodeOffset uint32
InodeBlockOffset int16
InodeBlockOffset uint16
Type uint16
}
@@ -42,7 +42,7 @@ func NewEntry(rdr io.Reader) (*Entry, error) {
return nil, err
}
return &Entry{
InodeBlockOffset: raw.InodeOffset,
InodeBlockOffset: raw.Offset,
Type: raw.Type,
Name: string(tmp),
}, nil