Skip to content

Conversation

@torarvid
Copy link
Owner

Address feedback from jglogan in PR apple#879.

Extract the .dockerignore parsing and pattern matching logic from
BuildFSSync into a dedicated IgnoreSpec type. This improves code
organization, testability, and reusability.

Changes:
- Create new IgnoreSpec.swift with IgnoreSpec type that takes Data in
  its initializer and provides shouldIgnore(relPath:isDirectory:) method
- Update BuildFSSync to load .dockerignore file data and create an
  IgnoreSpec instance
- Rename DockerignoreTests to IgnoreSpecTests
- Add unit tests for IgnoreSpec type

This addresses feedback from jglogan in PR apple#879.
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.

3 participants