kdomanski / iso9660

A go library for reading and creating ISO9660 images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do i add a Directory?

Erickson400 opened this issue · comments

I want to add 2 files and one directory, is that not possible?

Hi @Erickson400 there isn't any convenience function for this now, but you can add a directory by just adding its contents file by file at the correct paths.

New version has a AddLocalDirectory helper function.

Can an empty directory be added?

I need to create a few folders in the ISO that are intentionally empty. Looks like they are skipped over in AddLocalDirectory if it is empty.