- writefile(file: string, content: strORobj): writefileResult
-
- writefile(file: string, content: strORobj, opt: {
append: boolean;
async: undefined | null;
}): writefileResult
-
Parameters
-
file: string
-
-
opt: {
append: boolean;
async: undefined | null;
}
-
append: boolean
-
async: undefined | null
- writefile(file: string, content: strORobj, opt: {
async: true;
}): Promise<writefileResult>
-
Parameters
-
file: string
-
-
opt: {
async: true;
}
- writefile(file: string, content: strORobj, opt: {
append: undefined | null | boolean;
async: true;
}): Promise<writefileResult>
-
Parameters
-
file: string
-
-
opt: {
append: undefined | null | boolean;
async: true;
}
-
append: undefined | null | boolean
-
async: true
- writefile(file: string, content: strORobj, opt: {
append?: boolean;
async?: null | false;
}): writefileResult
-
Parameters
-
file: string
-
-
opt: {
append?: boolean;
async?: null | false;
}
-
Optional
append?: boolean
-
Optional
async?: null | false
sync write to file recursively (auto create dirname)