Files
squashfs/writer_inodes.go
T
2021-04-04 09:39:28 -05:00

17 lines
301 B
Go

package squashfs
import "io"
func (w *Writer) countInodes() (out uint32) {
out++ //for the root directory
for _, files := range w.structure {
out += uint32(len(files))
}
return
}
func (w *Writer) writeInodeTable(wrt io.WriterAt, off int64) (newOff int64, err error) {
newOff = off
return
}