createFileWithDummy 

Node.js 런타임 필요 ('qsu/node')지정된 크기의 파일을 바이트 단위로 만듭니다.
Parameters
| 이름 | 타입 | 필수 | 기본값 |
|---|---|---|---|
filePath | string | ● | – |
| File or directory path | |||
size![]() named | number | ● | – |
| Size of the file to be created (Dummy data is filled as much as the given size) | |||

named 표시가 있는 파라미터는 Dart에서는 named 파라미터, Python에서는 키워드 인자로 전달됩니다.
Returns
Promise::void
Examples
javascript
await createFileWithDummy('/home/user/test.txt', 100000);dart
await createFileWithDummy('/home/user/test.txt', size: 100000);python
createFileWithDummy('/home/user/test.txt', 100000)