History

Fix comment

The comment was referring to previous versions of the code.

Christoph Rüßler committed 1 year ago

Commit 5f6d4161 parent a721e741 file · +4 −6Browse files

Unified · Split

gix-blame/src/file/function.rs+4−6
@@ -24,14 +24,12 @@ use crate::{types::BlamePathEntry, BlameEntry, Error, Options, Outcome, Statisti · 23 unmodified lines
24/// - The first commit to be responsible for parts of `file_path`.24/// - The first commit to be responsible for parts of `file_path`.
25/// * `cache`25/// * `cache`
26/// - Optionally, the commitgraph cache.26/// - Optionally, the commitgraph cache.
27/// * `file_path`
28/// - A *slash-separated* worktree-relative path to the file to blame.
29/// * `range`
30/// - A 1-based inclusive range, in order to mirror `git`’s behaviour. `Some(20..40)` represents
31/// 21 lines, spanning from line 20 up to and including line 40. This will be converted to
32/// `19..40` internally as the algorithm uses 0-based ranges that are exclusive at the end.
33/// * `resource_cache`27/// * `resource_cache`
34/// - Used for diffing trees.28/// - Used for diffing trees.
29/// * `file_path`
30/// - A *slash-separated* worktree-relative path to the file to blame.
31/// * `options`
32/// - An instance of [`Options`].
35///33///
36/// ## The algorithm34/// ## The algorithm
37///35///

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t