diff options
| author | diogo464 <[email protected]> | 2021-07-09 04:14:02 -0400 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2021-07-09 04:14:02 -0400 |
| commit | e1df098c885bda5cd0b375cb46c460367abe4f17 (patch) | |
| tree | 348ddce946295c02870ad47d094d5d755cbe2e7b /dotup_cli | |
| parent | 862fed11b358cf0d8747decb0c343cfe94784bad (diff) | |
Renamed LinkDesc to LinkCreateParams
Diffstat (limited to 'dotup_cli')
| -rw-r--r-- | dotup_cli/src/commands/link.rs | 2 | ||||
| -rw-r--r-- | dotup_cli/src/main.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dotup_cli/src/commands/link.rs b/dotup_cli/src/commands/link.rs index 87453bd..bed3744 100644 --- a/dotup_cli/src/commands/link.rs +++ b/dotup_cli/src/commands/link.rs | |||
| @@ -25,7 +25,7 @@ pub fn main(config: Config, opts: Opts) -> anyhow::Result<()> { | |||
| 25 | 25 | ||
| 26 | if let Some(destination) = destination { | 26 | if let Some(destination) = destination { |
| 27 | for path in collect_file_type(origins, FileType::File)? { | 27 | for path in collect_file_type(origins, FileType::File)? { |
| 28 | let link_desc = LinkDesc { | 28 | let link_desc = LinkCreateParams { |
| 29 | origin: path, | 29 | origin: path, |
| 30 | destination: destination.clone(), | 30 | destination: destination.clone(), |
| 31 | }; | 31 | }; |
diff --git a/dotup_cli/src/main.rs b/dotup_cli/src/main.rs index 6d020e1..8830853 100644 --- a/dotup_cli/src/main.rs +++ b/dotup_cli/src/main.rs | |||
| @@ -7,7 +7,7 @@ pub use config::Config; | |||
| 7 | 7 | ||
| 8 | pub mod prelude { | 8 | pub mod prelude { |
| 9 | pub use super::Config; | 9 | pub use super::Config; |
| 10 | pub use dotup::{Archive, Depot, DepotConfig, Link, LinkDesc, LinkID}; | 10 | pub use dotup::{Archive, Depot, DepotConfig, Link, LinkCreateParams, LinkID}; |
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | use clap::{AppSettings, Clap}; | 13 | use clap::{AppSettings, Clap}; |
