From 10bc6f3846b65cc82c2fb343d8cfe921784bef1b Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 19 Feb 2023 12:19:43 +0100 Subject: [PATCH] fix(sdk): fixed fmt errors --- crates/dagger-sdk/src/gen.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/crates/dagger-sdk/src/gen.rs b/crates/dagger-sdk/src/gen.rs index 3315a19..962b8c5 100644 --- a/crates/dagger-sdk/src/gen.rs +++ b/crates/dagger-sdk/src/gen.rs @@ -21,8 +21,8 @@ pub struct SecretId(String); pub struct SocketId(String); #[derive(Serialize, Deserialize)] pub struct BuildArg { - pub name: String, pub value: String, + pub name: String, } pub struct CacheVolume { pub proc: Arc, @@ -67,7 +67,10 @@ pub struct ContainerPublishOpts { pub struct ContainerWithDefaultArgsOpts { pub args: Option>, } -pub struct ContainerWithDirectoryOpts {} +pub struct ContainerWithDirectoryOpts { + pub exclude: Option>, + pub include: Option>, +} pub struct ContainerWithExecOpts { pub stdin: Option, pub redirect_stdout: Option, @@ -1459,7 +1462,6 @@ impl Socket { query.execute(&graphql_client(&self.conn)).unwrap().unwrap() } } - #[derive(Serialize)] pub enum CacheSharingMode { SHARED,