coreutils/src
Jeffrey Finkelstein 43e9fb73b1 mktemp: simplify file path parameter logic
Simplify the logic of computing the file path parameters (the
directory, prefix, suffix, and number of random characters) for the
temporary file created by `mktemp`. This commits adds an `Options`
struct as a layer of indirection between the application logic and
`clap`, and a `Params` struct whose associated function is responsible
for determining the file path parameters from the `Options`. This is
an improvement because the previous code had some logic for
determining file path parameters in one place and some in another
place.
2022-05-31 19:35:01 -04:00
..
bin docs: don't download the tldr archive (#3415) 2022-04-17 21:33:51 +02:00
uu mktemp: simplify file path parameter logic 2022-05-31 19:35:01 -04:00
uucore Version 0.0.14 (#3553) 2022-05-22 19:57:19 +02:00
uucore_procs Version 0.0.14 (#3553) 2022-05-22 19:57:19 +02:00