`archive_read_disk_new()` creates an object that knows how to read information from the file system.
You can use it in two ways:
* You can attach it to a directory and use it to iterate over all the items in the directory. In essence, this treats a directory tree as an archive in it's own right. For example, bsdtar makes heavy use of this.
* In this situation, it's being used merely as a helper to look up information about the files on disk. Generally, you would create one of these objects and reuse it for many entries -- it builds up some internal caches of filesystem details that can help speed up certain operations.
> You received this message because you are subscribed to the Google Groups "libarchive-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to libarchive-disc...@googlegroups.com
> To post to this group, send email to libarchiv...@googlegroups.com
> Visit this group at https://groups.google.com/group/libarchive-discuss
> For more options, visit https://groups.google.com/d/optout