Skip to content

Add entry metadata builders#147

Open
koolkdev wants to merge 1 commit into
masterfrom
entry-metadata-builders
Open

Add entry metadata builders#147
koolkdev wants to merge 1 commit into
masterfrom
entry-metadata-builders

Conversation

@koolkdev

Copy link
Copy Markdown
Owner

Summary

  • Add an internal helper for preparing WFS directory-entry names, including lowercase keys and case bitmap generation.
  • Add metadata builders for empty file entries and directory entries.
  • Add an invalid entry-name error for rejected path components.
  • Fix case-sensitive name restoration to read the rounded-up case-bitmap byte count.

Validation

  • /tmp/clang-format-18/usr/lib/llvm-18/bin/clang-format -style=file --dry-run --Werror src/entry_metadata_builder.h src/entry_metadata_builder.cpp src/structs.cpp tests/entry_metadata_builder_tests.cpp include/wfslib/errors.h src/errors.cpp
  • build/gcc14-tests/tests/Debug/wfslib_tests "[entry-metadata-builder]"
  • ctest --test-dir build/gcc14-tests -C Debug --output-on-failure

@koolkdev koolkdev force-pushed the entry-metadata-builders branch 4 times, most recently from 133b539 to e5986c3 Compare April 29, 2026 20:09
@koolkdev koolkdev marked this pull request as ready for review April 30, 2026 07:13
@koolkdev koolkdev force-pushed the entry-metadata-builders branch from e5986c3 to 68190b8 Compare April 30, 2026 07:18
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

Successfully merging this pull request may close these issues.

1 participant