dalec icon indicating copy to clipboard operation
dalec copied to clipboard

source: context: Optimize fetch by path

Open cpuguy83 opened this issue 6 months ago • 0 comments

This makes sure that if a path is specified on a context source that we we only ever fetch the content from beneath that path.

Before this change we were doing the context path filtering after the content was fetched.

This also makes so that include/exclude patterns are automatically namespaced by the source path, since it doesn't make sense to include files that are outside of the source path.

cpuguy83 avatar Aug 21 '24 22:08 cpuguy83