Blender V5.3
blender::ed::asset::index::RemoteListingFileEntry Struct Reference

#include <ED_asset_indexer.hh>

Inherits blender::blender::NonCopyable.

Public Attributes

std::string local_path
asset_system::URLWithHash download_url
int64_t size_in_bytes
std::optional< asset_system::RemoteAssetFileStatus > file_status

Additional Inherited Members

Public Member Functions inherited from blender::blender::NonCopyable
 NonCopyable (const NonCopyable &other)=delete
NonCopyable & operator= (const NonCopyable &other)=delete
 NonCopyable ()=default
 NonCopyable (NonCopyable &&other)=default
NonCopyable & operator= (NonCopyable &&other)=default

Detailed Description

Representation of the FileV1 type in the OpenAPI definition. See blender_asset_library_openapi.yaml.

Not all fields are included here, just the ones that are used by Blender.

Definition at line 77 of file ED_asset_indexer.hh.

Member Data Documentation

◆ download_url

asset_system::URLWithHash blender::ed::asset::index::RemoteListingFileEntry::download_url

◆ file_status

std::optional<asset_system::RemoteAssetFileStatus> blender::ed::asset::index::RemoteListingFileEntry::file_status

Status of the file on disk, compared to the information in the fields above.

See also
asset_system::OnlineAssetInfo::file_status for the per-asset status that may be more convenient to use.
blender::ed::asset::index::FileStatusChecker.

Definition at line 89 of file ED_asset_indexer.hh.

Referenced by blender::ed::asset::index::FileStatusChecker::remote_file_status().

◆ local_path

◆ size_in_bytes

int64_t blender::ed::asset::index::RemoteListingFileEntry::size_in_bytes

The documentation for this struct was generated from the following file: