From c2e0f5757902faefa898ad5d1fbb2ee1a4bf1571 Mon Sep 17 00:00:00 2001 From: oSumAtrIX <johan.melkonyan1@web.de> Date: Sun, 27 Oct 2024 05:32:10 +0100 Subject: [PATCH] Update 4_apis.md --- docs/4_apis.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/4_apis.md b/docs/4_apis.md index dee74b8..5814dc3 100644 --- a/docs/4_apis.md +++ b/docs/4_apis.md @@ -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 @@ -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. @@ -80,7 +80,7 @@ execute { } ``` -#### 📃 `document` +#### 📃 `document(String)` and `document(InputStream)` The `document` function is used to read and write DOM files.