File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ impl CmdChildren {
104104}
105105
106106#[ derive( Debug ) ]
107- pub enum CmdChild {
107+ pub ( crate ) enum CmdChild {
108108 ProcChild {
109109 child : Child ,
110110 cmd : String ,
@@ -124,7 +124,7 @@ pub enum CmdChild {
124124}
125125
126126impl CmdChild {
127- pub fn wait ( self , is_last : bool ) -> CmdResult {
127+ fn wait ( self , is_last : bool ) -> CmdResult {
128128 let pipefail = std:: env:: var ( "CMD_LIB_PIPEFAIL" ) != Ok ( "0" . into ( ) ) ;
129129 let check_result = |result| {
130130 if let Err ( e) = result {
@@ -178,7 +178,7 @@ impl CmdChild {
178178 Ok ( ( ) )
179179 }
180180
181- pub fn wait_with_output ( self ) -> Result < Vec < u8 > > {
181+ fn wait_with_output ( self ) -> Result < Vec < u8 > > {
182182 match self {
183183 ProcChild { child, cmd, stderr } => {
184184 Self :: log_stderr_output ( stderr) ;
@@ -239,7 +239,7 @@ impl CmdChild {
239239 }
240240 }
241241
242- pub fn get_full_cmd ( children : & [ Self ] ) -> String {
242+ fn get_full_cmd ( children : & [ Self ] ) -> String {
243243 children
244244 . iter ( )
245245 . map ( |child| match child {
You can’t perform that action at this time.
0 commit comments