Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Gelma authored and pkolaczk committed Jul 9, 2022
1 parent cf063de commit 915683a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ from multiple threads on HDD can be much slower than single-threaded access

Since version 0.7.0, fclones uses separate per-device thread-pools for final hashing
and it will automatically tune the level of parallelism, memory buffer sizes and partial hashing sizes
based on the device type. These automatic settings can be overriden with `-threads` as well.
based on the device type. These automatic settings can be overridden with `-threads` as well.

The following options can be passed to `--threads`. The more specific options override the less specific ones.
- `main:<n>` – sets the size of the main thread-pool used for random I/O: directory tree scanning,
Expand Down Expand Up @@ -480,7 +480,7 @@ To limit the parallelism level for all I/O access for all SSD devices:

fclones group <paths> --threads ssd:1

To set the parallelism level to the number of cores for random I/O accesss and to
To set the parallelism level to the number of cores for random I/O access and to
2 for sequential I/O access for `/dev/sda` block device:

fclones group <paths> --threads dev:/dev/sda:0,2
Expand Down
2 changes: 1 addition & 1 deletion src/transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ impl Transform {
self.tmp_dir.join(format!("{:x}", input.hash128()))
}

/// Processes the input file and returns its output and err as as stream
/// Processes the input file and returns its output and err as stream
pub fn run(&self, input: &Path) -> io::Result<Execution> {
let (args, input_conf, output_conf) = self.make_args(input);
let mut command = build_command(&args, &input_conf, &output_conf)?;
Expand Down

0 comments on commit 915683a

Please sign in to comment.