File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,15 @@ var addedFilenames = micropythonFs.importFilesFromIntelHex(UploadedHexWithUserFi
20
20
21
21
micropythonFs .create (' filename.txt' , ' Error thrown if file already exists.' );
22
22
micropythonFs .write (' filename.txt' , ' Create or overwrites file.' );
23
+ // Append not yet implemented
23
24
micropythonFs .append (' filename.txt' , ' Adds additional content.' );
24
25
var content = micropythonFs .read (' filename.txt' );
26
+ var contentByteArray = micropythonFs .readBytes (' filename.txt' );
25
27
if (micropythonFs .exists (' filename.txt' )) {
26
28
micropythonFs .remove (' filename.txt' );
27
29
}
28
- micropythonFs .ls ();
29
30
var fileSizeInBytes = micropythonFs .size (' filename.txt' );
31
+ var fileList = micropythonFs .ls ();
30
32
31
33
var intelHexWithFs = micropythonFs .getIntelHex ();
32
34
```
You can’t perform that action at this time.
0 commit comments