class Git::Commands::CatFile::Filtered
Retrieves a single git object after applying working-tree filter processing
Runs ‘git cat-file` with `–textconv` or `–filters`. Both modes require the caller to identify the object by revision and path so that git can look up the applicable `.gitattributes` rules:
-
**‘–textconv`** — apply only the textconv filter (binary-to-text conversion defined by `diff.<driver>.textconv` in `.gitattributes`); intended for human-readable display
-
**‘–filters`** — apply the full working-tree pipeline: smudge filter, EOL conversion, and textconv; returns the content exactly as `git checkout` would write it to disk
The object can be identified as a combined ‘<rev>:<path>` string passed as the `rev` operand, or as a bare `<rev>` with `–path=<path>` supplied separately.
For unfiltered object access, use {CatFile::Raw}. For batch queries across multiple objects, use {CatFile::Batch}.
@note ‘arguments` block audited against git-scm.com/docs/git-cat-file/2.53.0
@see git-scm.com/docs/git-cat-file git-cat-file documentation
@api private