|
Blender V5.3
|
#include <sys/stat.h>#include <cstring>#include <dirent.h>#include <unistd.h>#include "MEM_guardedalloc.h"#include "BLI_fileops.hh"#include "BLI_listbase.hh"#include "BLI_path_utils.hh"#include "BLI_string.hh"#include "BLI_utildefines.hh"#include "DEG_depsgraph.hh"#include "BKE_idtype.hh"#include "BKE_library.hh"#include "BKE_main.hh"#include "BKE_node.hh"#include "BKE_report.hh"#include "BKE_bpath.hh"#include "CLG_log.h"#include "BLI_strict_flags.hh"Go to the source code of this file.
Classes | |
| struct | blender::BPathFind_Data |
| struct | blender::BPathRebase_Data |
| struct | blender::BPathRemap_Data |
| struct | blender::PathStore |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Functions | |
High level features. | |
| void | blender::BKE_bpath_summary_report (const BPathSummary &summary, ReportList *reports) |
| void | blender::BKE_bpath_missing_files_check (Main *bmain, ReportList *reports) |
| void | blender::BKE_bpath_missing_files_find (Main *bmain, const char *searchpath, ReportList *reports, bool find_all, BPathSummary *r_summary=nullptr) |
| void | blender::BKE_bpath_relative_rebase (Main *bmain, const char *basedir_src, const char *basedir_dst, ReportList *reports, BPathSummary *r_summary=nullptr) |
| void | blender::BKE_bpath_relative_convert (Main *bmain, const char *basedir, ReportList *reports, BPathSummary *r_summary=nullptr) |
| void | blender::BKE_bpath_absolute_convert (Main *bmain, const char *basedir, ReportList *reports, BPathSummary *r_summary=nullptr) |
| void * | blender::BKE_bpath_list_backup (Main *bmain, eBPathForeachFlag flag) |
| void | blender::BKE_bpath_list_restore (Main *bmain, eBPathForeachFlag flag, void *path_list_handle) |
| void | blender::BKE_bpath_list_free (void *path_list_handle) |
Core <tt>foreach_path</tt> API. | |
| void | blender::BKE_bpath_foreach_path_id (BPathForeachPathData *bpath_data, ID *id) |
| void | blender::BKE_bpath_foreach_path_main (BPathForeachPathData *bpath_data) |
Helpers to handle common cases from <tt>IDTypeInfo</tt>'s <tt>foreach_path</tt> functions. | |
| bool | blender::BKE_bpath_foreach_path_fixed_process (BPathForeachPathData *bpath_data, char *path, size_t path_maxncpy) |
| void | blender::BKE_bpath_foreach_path_readonly_process (BPathForeachPathData *bpath_data, const char *path) |
| bool | blender::BKE_bpath_foreach_path_dirfile_fixed_process (BPathForeachPathData *bpath_data, char *path_dir, size_t path_dir_maxncpy, char *path_file, size_t path_file_maxncpy) |
| bool | blender::BKE_bpath_foreach_path_allocated_process (BPathForeachPathData *bpath_data, char **path) |
Generic File Path Traversal API | |
| void | blender::BKE_bpath_sequence_filepaths_foreach (const char *abs_filepath, FunctionRef< void(StringRef frame_filepath)> callback) |
Check Missing Files | |
| static bool | blender::check_missing_files_foreach_path_cb (BPathForeachPathData *bpath_data, char *, size_t, const char *path_src) |
Rebase Relative Paths | |
| static bool | blender::relative_rebase_foreach_path_cb (BPathForeachPathData *bpath_data, char *path_dst, size_t path_dst_maxncpy, const char *path_src) |
Make Paths Relative Or Absolute | |
| static bool | blender::relative_convert_foreach_path_cb (BPathForeachPathData *bpath_data, char *path_dst, size_t path_dst_maxncpy, const char *path_src) |
| static bool | blender::absolute_convert_foreach_path_cb (BPathForeachPathData *bpath_data, char *path_dst, size_t path_dst_maxncpy, const char *path_src) |
| static void | blender::bpath_absolute_relative_convert (Main *bmain, const char *basedir, ReportList *reports, BPathForeachPathFunctionCallback callback_function, BPathSummary *r_summary) |
Backup/Restore/Free paths list functions. | |
| static bool | blender::bpath_list_append (BPathForeachPathData *bpath_data, char *, size_t, const char *path_src) |
| static bool | blender::bpath_list_restore (BPathForeachPathData *bpath_data, char *path_dst, size_t path_dst_maxncpy, const char *path_src) |
Variables | |
| static CLG_LogRef | blender::LOG = {"lib.bpath"} |
Find Missing Files | |
| #define | MAX_DIR_RECURSE 16 |
| #define | FILESIZE_INVALID_DIRECTORY -1 |
| static bool | blender::missing_files_find__recursive (const char *search_directory, const char *filename_src, char r_filepath_new[FILE_MAX], int64_t *r_filesize, int *r_recurse_depth) |
| static bool | blender::missing_files_find_foreach_path_cb (BPathForeachPathData *bpath_data, char *path_dst, size_t path_dst_maxncpy, const char *path_src) |
| #define FILESIZE_INVALID_DIRECTORY -1 |
Definition at line 356 of file bpath.cc.
Referenced by blender::missing_files_find__recursive(), and blender::missing_files_find_foreach_path_cb().
| #define MAX_DIR_RECURSE 16 |
Definition at line 355 of file bpath.cc.
Referenced by blender::missing_files_find__recursive().