flashtrace v0.15.1

Known limitations#

  • Comment detection is lexical: comment markers inside string literals are treated as comments (e.g. a # in a Python string, or a // in a JS string inside an embedded <script>, can define a phantom item). URL-shaped text (a scheme followed by ://) is exempt - markers inside a URL never open a comment - which conversely means a comment opener written directly against a scheme://-shaped token (e.g. note://… with no separating whitespace) is not recognized.
  • Input paths are compared exactly and case-sensitively, after only lexical normalization (. and .. segments, separators): no case folding, no symlink resolution. On a case-insensitive file system, or through a symlink, the same file reached under two spellings (e.g. docs/spec.md and DOCS/spec.md) is read twice, and its items are reported as duplicates (see Text handling).
  • The scanner does not read Git's index. A tracked or staged file matching an ignore rule is excluded during directory scanning. Supply that file explicitly to include it. git ls-files --cached would resolve this, but flashtrace deliberately does not invoke a Git executable: one found via PATH could be a planted malicious binary running with flashtrace's privileges.
  • A core.excludesFile path containing ~ anywhere but a leading ~/ is misread: the file walker (the ignore crate) replaces every ~ with the home directory, unlike Git, so that global ignore file is not found and its rules do not apply. This affects Windows 8.3 short paths such as C:/Users/RUNNER~1/.... Write the path in its long form or start it with ~/. An upstream fix is pending: BurntSushi/ripgrep#3592.