1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add package update detection on Content tab (#13807)

This commit is contained in:
rubenwardy 2023-10-28 17:33:44 +01:00 committed by GitHub
parent ddce858c34
commit 4ee32c5441
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 329 additions and 54 deletions

View file

@ -101,7 +101,7 @@ HTTP Requests
* `core.download_file(url, target)` (possible in async calls)
* `url` to download, and `target` to store to
* returns true/false
* `minetest.get_http_api()` (possible in async calls)
* `core.get_http_api()` (possible in async calls)
* returns `HTTPApiTable` containing http functions.
* The returned table contains the functions `fetch_sync`, `fetch_async` and
`fetch_async_get` described below.
@ -394,10 +394,13 @@ Helpers
* eg. `string.trim("\n \t\tfoo bar\t ")` == `"foo bar"`
* `core.is_yes(arg)` (possible in async calls)
* returns whether `arg` can be interpreted as yes
* `minetest.encode_base64(string)` (possible in async calls)
* `core.encode_base64(string)` (possible in async calls)
* Encodes a string in base64.
* `minetest.decode_base64(string)` (possible in async calls)
* `core.decode_base64(string)` (possible in async calls)
* Decodes a string encoded in base64.
* `core.urlencode(str)`: Encodes non-unreserved URI characters by a
percent sign followed by two hex digits. See
[RFC 3986, section 2.3](https://datatracker.ietf.org/doc/html/rfc3986#section-2.3).
Async