mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-07 07:08:19 +01:00
The commit adds the `db_post_from_url` function to the `conversion.rs` file. This function retrieves a post from the database based on a given URL. If the post is not found in the database, it fetches the post from the URL, saves it to the database, and returns the post. This change enhances the functionality of the codebase by providing a convenient way to retrieve and store posts. |
||
|---|---|---|
| .. | ||
| conversion.rs | ||
| funcs.rs | ||
| http.rs | ||
| mod.rs | ||
| objects.rs | ||
| superx.rs | ||
| test.rs | ||