Skip to content
Extraits de code Groupes Projets

Resolve "Sync from kurisu"

Fusionnées Kubat a demandé de fusionner sync vers master
4 files
+ 21
1
Comparer les modifications
  • Côte à côte
  • En ligne

Fichiers

+ 8
0
@@ -3,6 +3,8 @@
#include <lektor/defines.h>
#include <lektor/mkv.h>
#include <lektor/thread.h>
#include <lektor/uri.h>
#include <curl/curl.h>
#include <sqlite3.h>
#include <json.h>
@@ -36,3 +38,9 @@ int repo_download_id_sync(struct lkt_repo *const repo, sqlite3 *db, const uint64
const char *kara_path, struct kara_metadata *mdt_ret);
int repo_download_id_async(const size_t id);
int repo_get_kara_async(struct kara **downloaded);
/* Scan and update the DB.
If only update from the kurisu repo, rescan must be null, if you want to
also scan the directories, set rescan to a non zero value. If the uri is
null, will just update/rescan everything. */
int repo_sync(struct lkt_uri_t *uri, int rescan);
Chargement en cours