Skip to content

Commit

Permalink
Update 4_apis.md
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX authored Oct 27, 2024
1 parent 242e244 commit c2e0f57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/4_apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A handful of APIs are available to make patch development easier and more effici
2. 🔍 Find and create mutable replaces with `classBy(Predicate)`
3. 🏃‍ Navigate method calls recursively by index with `navigate(Method)`
4. 💾 Read and write resource files with `get(String, Boolean)` and `delete(String)`
5. 📃 Read and write DOM files using `document(String)` or `document(InputStream)`
5. 📃 Read and write DOM files using `document(String)` and `document(InputStream)`

### 🧰 APIs

Expand Down Expand Up @@ -60,7 +60,7 @@ execute {
}
```

#### 💾 `get(String, Boolean)`
#### 💾 `get(String, Boolean)` and `delete(String)`

The `get(String, Boolean)` function returns a `File` object that can be used to read and write resource files.

Expand All @@ -80,7 +80,7 @@ execute {
}
```

#### 📃 `document`
#### 📃 `document(String)` and `document(InputStream)`

The `document` function is used to read and write DOM files.

Expand Down

0 comments on commit c2e0f57

Please sign in to comment.