Blender
V5.3
source
blender
editors
asset
intern
asset_indexer_remote_file_status.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2026 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9
#pragma once
10
11
#include <string>
12
13
#include "
BLI_string_ref.hh
"
14
15
#include "
AS_disk_file_hash_service.hh
"
16
#include "
AS_remote_library.hh
"
17
18
#include "
ED_asset_indexer.hh
"
19
20
namespace
blender
{
21
struct
bContext
;
22
}
23
24
namespace
blender::ed::asset::index
{
25
32
class
FileStatusChecker
{
33
private
:
35
std::string library_root_path_;
36
std::unique_ptr<asset_system::DiskFileHashService> dfhs_;
37
38
public
:
39
explicit
FileStatusChecker
(
StringRefNull
library_root_path);
40
~FileStatusChecker
() =
default
;
41
49
asset_system::RemoteAssetFileStatus
remote_file_status
(
RemoteListingFileEntry
&file_to_check);
50
51
private
:
52
asset_system::RemoteAssetFileStatus
remember(
RemoteListingFileEntry
&file_to_check,
53
asset_system::RemoteAssetFileStatus
status);
54
};
55
56
}
// namespace blender::ed::asset::index
AS_disk_file_hash_service.hh
AS_remote_library.hh
BLI_string_ref.hh
ED_asset_indexer.hh
blender::StringRefNull
Definition
BLI_string_ref.hh:144
blender::ed::asset::index::FileStatusChecker::~FileStatusChecker
~FileStatusChecker()=default
blender::ed::asset::index::FileStatusChecker::remote_file_status
asset_system::RemoteAssetFileStatus remote_file_status(RemoteListingFileEntry &file_to_check)
Definition
asset_indexer_remote_file_status.cc:44
blender::ed::asset::index::FileStatusChecker::FileStatusChecker
FileStatusChecker(StringRefNull library_root_path)
Definition
asset_indexer_remote_file_status.cc:35
blender::asset_system::RemoteAssetFileStatus
RemoteAssetFileStatus
Definition
AS_asset_file_status.hh:16
blender::ed::asset::index
Definition
ED_asset_indexer.hh:26
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::bContext
Definition
blenkernel/intern/context.cc:65
blender::ed::asset::index::RemoteListingFileEntry
Definition
ED_asset_indexer.hh:77
Generated on
for Blender by
doxygen
1.18.0