Function: projectile--command-accepts-pathspecs-p
projectile--command-accepts-pathspecs-p is a byte-compiled function
defined in projectile.el.
Signature
(projectile--command-accepts-pathspecs-p COMMAND)
Documentation
Return non-nil when COMMAND can take trailing path arguments.
Several of the indexing commands Projectile ships are shell pipelines:
the svn, fossil and pijul recipes, and the plain find fallback, all end
in a tr stage. Appending a path to one of those hands it to that last
stage rather than to the lister, which fails outright instead of
restricting the listing, so the caller has to filter the command output
itself (see projectile--restrict-to-subdirs).
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--command-accepts-pathspecs-p (command)
"Return non-nil when COMMAND can take trailing path arguments.
Several of the indexing commands Projectile ships are shell pipelines:
the svn, fossil and pijul recipes, and the plain find fallback, all end
in a `tr' stage. Appending a path to one of those hands it to that last
stage rather than to the lister, which fails outright instead of
restricting the listing, so the caller has to filter the command output
itself (see `projectile--restrict-to-subdirs')."
(and command (not (string-match-p "|" command))))