lib/mutest/repository.rb
# Test if path is tracked in repository
#
# FIXME: Cache results, to avoid spending time on producing redundant results.
#
# @param [Pathname] path
#
# @return [Boolean]
Test if path is tracked in repository
FIXME: Cache results, to avoid spending time on producing redundant results.
Test if path is tracked in repository FIXME : Cache results to avoid spending time on producing redundant results .
def tracks?(path)
        command = %W[git ls-files --error-unmatch -- #{path}]
        config.kernel.system(
          *command,
          out: File::NULL,
          err: File::NULL
        )
      end
def tracks? ( path ) command = %W[ git ls-files --error-unmatch -- #{ path } ] config . kernel . system ( * command , out : File :: NULL , err : File :: NULL ) end
Test if path is tracked in repository
FIXME: Cache results, to avoid spending time on producing redundant results.
Test if path is tracked in repository FIXME : Cache results to avoid spending time on producing redundant results .
None
Boolean
path
None