Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsCommentLine ¶
IsCommentLine checks if a line is a code comment (should not count as meaningful contribution) Note: Empty/whitespace lines are NOT comments - use IsWhitespaceLine for those.
func IsCommentedOutCode ¶ added in v0.2.35
IsCommentedOutCode attempts to detect if a comment line contains commented-out code rather than an actual comment. This is a heuristic and may have false positives/negatives.
func IsDocCommentLine ¶ added in v0.2.35
IsDocCommentLine checks if a line is a documentation comment (JSDoc, JavaDoc, Rust doc, etc.) These are comments specifically meant to document code, as opposed to regular comments.
func IsDocumentationFile ¶
IsDocumentationFile checks if a file is documentation-only
func IsMeaningfulLine ¶
IsMeaningfulLine checks if a line of code is meaningful (not a comment or whitespace)
func IsRenameOrMove ¶ added in v0.2.34
IsRenameOrMove checks if a file change represents a rename or move operation rather than actual content modification. A rename/move is detected when both the source (fromName) and destination (toName) paths exist and differ.
func IsWhitespaceLine ¶
IsWhitespaceLine checks if a line contains only whitespace characters
Types ¶
This section is empty.