You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an ambiguity in fileutil.CreateDir, the incoming path must end with /.
I input /a/b/c but create /a/b.
Since the function's name is CreateDir, the input params is dir not a file.
It is recommended that the semantics of the function be consistent with the mkdir -p command of the operating system, that will not cause ambiguity. mkdir -p /a/b/c will create /a/b/c not /a/b
The text was updated successfully, but these errors were encountered:
There is an ambiguity in
fileutil.CreateDir
, the incoming path must end with/
.I input
/a/b/c
but create/a/b
.Since the function's name is
CreateDir
, the input params is dir not a file.It is recommended that the semantics of the function be consistent with the
mkdir -p
command of the operating system, that will not cause ambiguity.mkdir -p /a/b/c
will create/a/b/c
not/a/b
The text was updated successfully, but these errors were encountered: