Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant