mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: add an optional "mode" parameter to os.mkdir and os.mkdir_all (#14887)
This commit is contained in:

committed by
GitHub

parent
7c3571b274
commit
74bb5ae17a
@ -1,6 +1,6 @@
|
||||
module os
|
||||
|
||||
pub fn mkdir(path string) ?bool {
|
||||
pub fn mkdir(path string, params MkdirParams) ?bool {
|
||||
$if js_node {
|
||||
if path == '.' {
|
||||
return true
|
||||
|
Reference in New Issue
Block a user