File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1907,6 +1907,7 @@ pub fn canonicalize<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
1907
1907
/// Ok(())
1908
1908
/// }
1909
1909
/// ```
1910
+ #[ doc( alias = "mkdir" ) ]
1910
1911
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1911
1912
pub fn create_dir < P : AsRef < Path > > ( path : P ) -> io:: Result < ( ) > {
1912
1913
DirBuilder :: new ( ) . create ( path. as_ref ( ) )
@@ -1951,6 +1952,7 @@ pub fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
1951
1952
/// Ok(())
1952
1953
/// }
1953
1954
/// ```
1955
+ #[ doc( alias = "mkdir" ) ]
1954
1956
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1955
1957
pub fn create_dir_all < P : AsRef < Path > > ( path : P ) -> io:: Result < ( ) > {
1956
1958
DirBuilder :: new ( ) . recursive ( true ) . create ( path. as_ref ( ) )
@@ -1986,6 +1988,8 @@ pub fn create_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
1986
1988
/// Ok(())
1987
1989
/// }
1988
1990
/// ```
1991
+ #[ doc( alias = "rm" ) ]
1992
+ #[ doc( alias = "rmdir" ) ]
1989
1993
#[ doc( alias = "delete" ) ]
1990
1994
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1991
1995
pub fn remove_dir < P : AsRef < Path > > ( path : P ) -> io:: Result < ( ) > {
@@ -2024,6 +2028,8 @@ pub fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
2024
2028
/// Ok(())
2025
2029
/// }
2026
2030
/// ```
2031
+ #[ doc( alias = "rm" ) ]
2032
+ #[ doc( alias = "rmdir" ) ]
2027
2033
#[ doc( alias = "delete" ) ]
2028
2034
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2029
2035
pub fn remove_dir_all < P : AsRef < Path > > ( path : P ) -> io:: Result < ( ) > {
You can’t perform that action at this time.
0 commit comments