diff options
| author | Sebastian Holmin <sebastian.holmin@mullvad.net> | 2025-01-07 13:41:43 +0100 |
|---|---|---|
| committer | Sebastian Holmin <sebastian.holmin@mullvad.net> | 2025-01-09 14:19:24 +0100 |
| commit | a88510aca8c2b45abb4e13443b31cd1944dc0d4a (patch) | |
| tree | 059006326e531c66762b064b7a43e4a59ebcc9d7 /test | |
| parent | 12756f1b8c67fdae93053c235c9e00486799199a (diff) | |
| download | mullvadvpn-a88510aca8c2b45abb4e13443b31cd1944dc0d4a.tar.xz mullvadvpn-a88510aca8c2b45abb4e13443b31cd1944dc0d4a.zip | |
Add doc-string
Diffstat (limited to 'test')
| -rw-r--r-- | test/test-runner/src/logging.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test-runner/src/logging.rs b/test/test-runner/src/logging.rs index efee58d52f..706ff2eed3 100644 --- a/test/test-runner/src/logging.rs +++ b/test/test-runner/src/logging.rs @@ -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>, |
