Hwaro::Services::ContentWalk::Ignore
[content] ignore rules bound to the content root they are written
against (content/ beside the config that holds them), answering for
paths under one walked directory. A walk of a subdirectory
(-c content/blog) still matches blog/b.md, and a directory outside
that root is matched by none of its rules.
Paths spelled under the walked directory (what its glob yields) take
a string prefix instead of expand_path, which costs a getcwd per
call — on a walk of thousands of files that was most of the time.
Constructors
none
SourceInstance methods
empty?
Sourcerules
Sourcewith_rules(rules : Models::ContentFilesConfig) : Ignore
The same root and walked directory, other rules.