Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load all the dirs/subdirs in the tree #3

Open
gaurav-gogia opened this issue Sep 13, 2022 · 0 comments
Open

Unable to load all the dirs/subdirs in the tree #3

gaurav-gogia opened this issue Sep 13, 2022 · 0 comments

Comments

@gaurav-gogia
Copy link

gaurav-gogia commented Sep 13, 2022

OS: Windows 11
Disk Image Type: RAW
Branch Used: Master

Trying to understand error "no struct-type recorded for entry type"

Error message:
no struct-type recorded for entry-type: DirectoryEntryParserKey<TYPE-CODE=(27) IS-CRITICAL=[true] IS-PRIMARY=[true]>

Code snippet where I am experiencing this error:

func readexfat(dimage *os.File) error {
	reader := exfat.NewExfatReader(dimage)
	reader.Parse()

	tree := exfat.NewTree(reader)
	tree.Load()

	return tree.Visit(func(pathParts []string, node *exfat.TreeNode) (err error) {
		fmt.Println(node.Name())
		return nil
	})
}

Please let me know if any more details are required

@gaurav-gogia gaurav-gogia changed the title Trying to understand error "no struct-type recorded for entry type" Unable to load all the dirs/subdirs in the tree Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant