Skip to content

Commit

Permalink
Add doc-string
Browse files Browse the repository at this point in the history
  • Loading branch information
Serock3 committed Jan 9, 2025
1 parent 12756f1 commit a88510a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test-runner/src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ async fn list_logs<T: AsRef<Path>>(log_dir: T) -> Result<Vec<PathBuf>, Error> {
Ok(paths)
}

/// Read the contents of a file to string, optionally truncating the result by given amount of lines.
async fn read_truncated<T: AsRef<Path>>(
path: T,
truncate_lines: Option<usize>,
Expand Down

0 comments on commit a88510a

Please sign in to comment.