Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: use .knowignore in top-level ingestion path if exists #145

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

iwilltry42
Copy link
Collaborator

If there is a .knowignore file in the root path of the ingested directory, it will be used.
Also, this PR now sorts the ignore patterns in increasing priority as expected by the gitignore library:

  1. Default ignore file
  2. User-provided ignore file
  3. User-provided ignore extensions
  4. Default ignore patterns

@iwilltry42 iwilltry42 merged commit f4306a8 into main Oct 18, 2024
1 check passed
@iwilltry42 iwilltry42 deleted the feat/default-ignore-file branch October 18, 2024 04:59
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