Blender V5.3
asset_indexer_remote_listing.cc File Reference
#include <chrono>
#include <filesystem>
#include <fmt/format.h>
#include <fstream>
#include <optional>
#include <string>
#include "BLI_fileops.hh"
#include "BLI_path_utils.hh"
#include "BLI_serialize.hh"
#include "BKE_report.hh"
#include "BLT_translation.hh"
#include "CLG_log.h"
#include "ED_asset_indexer.hh"
#include "asset_index.hh"
#include "asset_indexer_remote_listing.hh"

Go to the source code of this file.

Classes

struct  blender::ed::asset::index::AssetLibraryMeta
struct  blender::ed::asset::index::ApiVersionInfo

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ed
namespace  blender::ed::asset
namespace  blender::ed::asset::index

Functions

static ReadingResult< ApiVersionInfo > blender::ed::asset::index::choose_api_version (const AssetLibraryMeta &library_meta)
bool blender::ed::asset::index::read_remote_listing (StringRefNull root_dirpath, StringRefNull asset_library_name, ReportList &reports, RemoteListingEntryProcessFn process_fn, RemoteListingWaitForPagesFn wait_fn=nullptr, std::optional< Timestamp > ignore_before_timestamp=std::nullopt)
General functions for reading.
std::unique_ptr< io::serialize::Value > blender::ed::asset::index::read_contents (StringRefNull filepath)
std::optional< asset_system::URLWithHash > blender::ed::asset::index::parse_url_with_hash_dict (const DictionaryValue *url_with_hash_dict)
Meta file

Containing info like the author and contact information (all of which is ignored here), as well as the API version.

std::optional< bool > blender::ed::asset::index::file_older_than_timestamp (const char *filepath, Timestamp timestamp)

Variables

static CLG_LogRef LOG = {"asset.remote_listing"}

Variable Documentation

◆ LOG

CLG_LogRef LOG = {"asset.remote_listing"}
static

Definition at line 30 of file asset_indexer_remote_listing.cc.