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
Copy file name to clipboardExpand all lines: docs/api.md
-26
Original file line number
Diff line number
Diff line change
@@ -57,32 +57,6 @@ SD.exists(filename)
57
57
*[remove()](#remove)
58
58
*[rmdir()](#rmdir)
59
59
60
-
### `exists()`
61
-
62
-
Tests whether a file or directory exists on the SD card.
63
-
64
-
#### Syntax
65
-
66
-
```
67
-
SD.exists(filename)
68
-
```
69
-
70
-
#### Parameters
71
-
72
-
*`filename`: the name of the file to test for existence, which can include directories (delimited by forward-slashes, /).
73
-
74
-
#### Returns
75
-
76
-
1 if the file or directory exists, 0 if not.
77
-
78
-
#### See also
79
-
80
-
*[begin()](#begin)
81
-
*[mkdir()](#mkdir)
82
-
*[open()](#open)
83
-
*[remove()](#remove)
84
-
*[rmdir()](#rmdir)
85
-
86
60
### `mkdir()`
87
61
88
62
Create a directory on the SD card. This will also create any intermediate directories that don't already exists; e.g. `SD.mkdir("a/b/c")` will create a, b, and c.
0 commit comments