Skip to content

Remove duplicate documentation for SDClass::exists #164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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