aboutsummaryrefslogtreecommitdiff
path: root/examples/foo/src/data
diff options
context:
space:
mode:
authorEric Kidd2016-09-15 10:29:29 -0400
committerEric Kidd2016-09-15 10:29:29 -0400
commitcae983f2cc93258c69e0f28e149d5da7802bb464 (patch)
tree1f175d26bc73dc2f58492188e19bbdbaa3bc52f7 /examples/foo/src/data
parentb08684329bd0601550e3aa6f0926ce1e755668e8 (diff)
downloadincludedir-cae983f2cc93258c69e0f28e149d5da7802bb464.tar.gz
includedir-cae983f2cc93258c69e0f28e149d5da7802bb464.tar.xz
includedir-cae983f2cc93258c69e0f28e149d5da7802bb464.zip
Allow iteration over available file names
Your example program included an unimplemented `entries` method. I chose not to implement `entries` because iterating over it would require decompressing any large files stored in the map. Instead, I've provided a `file_names` API that provides just the names of the files in the map, which the caller can look up (and potentially decompress) if they wish. I implemented a custom iterator wrapper to hide the implementation details from the caller.
Diffstat (limited to 'examples/foo/src/data')
0 files changed, 0 insertions, 0 deletions