Skip to main content

Crate tokmd_content

Crate tokmd_content 

Source
Expand description

§tokmd-content

Tier 2 (Utilities)

Content scanning helpers for analysis. Provides file content inspection capabilities including reading, hashing, and entropy calculation.

§What belongs here

  • File content reading (head, tail, lines)
  • Text detection
  • File integrity hashing (BLAKE3)
  • Tag counting (TODOs, FIXMEs)
  • Entropy calculation
  • Function-level complexity metrics

§What does NOT belong here

  • File listing (use tokmd-walk)
  • File modification

Modules§

complexity
Function-level complexity metrics.

Functions§

count_tags
entropy_bits_per_byte
hash_bytes
hash_file
is_text_like
read_head
read_head_tail
read_lines
read_text_capped