Skip to content

Commit

Permalink
Merge pull request #164 from per1234/exists-doc-dupe
Browse files Browse the repository at this point in the history
Remove duplicate documentation for `SDClass::exists`
  • Loading branch information
per1234 authored Oct 25, 2024
2 parents 74c2bd1 + a04786a commit c635295
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,32 +57,6 @@ SD.exists(filename)
* [remove()](#remove)
* [rmdir()](#rmdir)

### `exists()`

Tests whether a file or directory exists on the SD card.

#### Syntax

```
SD.exists(filename)
```

#### Parameters

* `filename`: the name of the file to test for existence, which can include directories (delimited by forward-slashes, /).

#### Returns

1 if the file or directory exists, 0 if not.

#### See also

* [begin()](#begin)
* [mkdir()](#mkdir)
* [open()](#open)
* [remove()](#remove)
* [rmdir()](#rmdir)

### `mkdir()`

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.
Expand Down

0 comments on commit c635295

Please sign in to comment.