Classes | |
| struct | ZipReaderGuard |
| struct | MzHeapFree |
Enumerations | |
| enum class | TomlSection { Root , OrcaPlugin , OrcaPluginSettings , InDepsArray } |
Functions | |
| void | assign_discovered_plugin_key (PluginDescriptor &descriptor, const boost::filesystem::path &name_source) |
| void | scan_plugin_directory (const std::string &dir_path, std::vector< PluginDescriptor > &out) |
| bool | is_safe_archive_entry_path (const boost::filesystem::path &path) |
| std::string | decode_zip_entry_extra_path (const std::string &extra, const std::string &fallback) |
| std::string | zip_entry_name (mz_zip_archive &archive, const mz_zip_archive_file_stat &stat) |
| std::string | normalize_zip_entry_name (std::string entry_name) |
| bool | read_zip_text_file (mz_zip_archive &archive, const char *filename, std::string &out, std::string &error) |
| std::string | unquote_toml_string (const std::string &val) |
| std::vector< std::string > | parse_toml_inline_array (const std::string &val) |
| bool | parse_pep723_toml (const std::string &toml_content, std::vector< std::string > &out_deps, std::string &out_requires_python, std::string &out_name, std::string &out_description, std::string &out_author, std::string &out_version, std::string &error) |
| std::string | normalize_package_name (const std::string &name) |
| void | parse_metadata_rfc822 (const std::string &content, std::string &out_name, std::string &out_version, std::string &out_summary, std::string &out_author, std::string &out_requires_python, std::string &out_import_name, std::vector< std::string > &out_requires_dist, std::string &error) |
| void | apply_install_metadata (PluginInstallState &state, const PluginDescriptor &entry) |
|
strong |
| void Slic3r::anonymous_namespace{PluginFsUtils.cpp}::apply_install_metadata | ( | PluginInstallState & | state, |
| const PluginDescriptor & | entry ) |
References apply_install_metadata(), Slic3r::PluginDescriptor::cloud_uuid(), Slic3r::PluginInstallState::cloud_uuid, Slic3r::PluginInstallState::installed_from, Slic3r::PluginDescriptor::installed_version, Slic3r::PluginInstallState::installed_version, Slic3r::PluginDescriptor::is_cloud_plugin(), Slic3r::PluginDescriptor::name, Slic3r::PluginInstallState::plugin_name, and Slic3r::PluginDescriptor::version.
Referenced by apply_install_metadata().
| void Slic3r::anonymous_namespace{PluginFsUtils.cpp}::assign_discovered_plugin_key | ( | PluginDescriptor & | descriptor, |
| const boost::filesystem::path & | name_source ) |
References assign_discovered_plugin_key(), Slic3r::PluginDescriptor::cloud_uuid(), Slic3r::PluginDescriptor::is_cloud_plugin(), Slic3r::make_local_plugin_key(), and Slic3r::PluginDescriptor::plugin_key.
Referenced by assign_discovered_plugin_key(), and scan_plugin_directory().
| std::string Slic3r::anonymous_namespace{PluginFsUtils.cpp}::decode_zip_entry_extra_path | ( | const std::string & | extra, |
| const std::string & | fallback ) |
References Slic3r::decode_path(), and decode_zip_entry_extra_path().
Referenced by decode_zip_entry_extra_path(), and zip_entry_name().
| bool Slic3r::anonymous_namespace{PluginFsUtils.cpp}::is_safe_archive_entry_path | ( | const boost::filesystem::path & | path | ) |
References is_safe_archive_entry_path(), and Slic3r::is_safe_relative_path().
Referenced by is_safe_archive_entry_path().
| std::string Slic3r::anonymous_namespace{PluginFsUtils.cpp}::normalize_package_name | ( | const std::string & | name | ) |
References normalize_package_name().
Referenced by normalize_package_name().
| std::string Slic3r::anonymous_namespace{PluginFsUtils.cpp}::normalize_zip_entry_name | ( | std::string | entry_name | ) |
References normalize_zip_entry_name().
Referenced by normalize_zip_entry_name().
| void Slic3r::anonymous_namespace{PluginFsUtils.cpp}::parse_metadata_rfc822 | ( | const std::string & | content, |
| std::string & | out_name, | ||
| std::string & | out_version, | ||
| std::string & | out_summary, | ||
| std::string & | out_author, | ||
| std::string & | out_requires_python, | ||
| std::string & | out_import_name, | ||
| std::vector< std::string > & | out_requires_dist, | ||
| std::string & | error ) |
References parse_metadata_rfc822().
Referenced by parse_metadata_rfc822().
| bool Slic3r::anonymous_namespace{PluginFsUtils.cpp}::parse_pep723_toml | ( | const std::string & | toml_content, |
| std::vector< std::string > & | out_deps, | ||
| std::string & | out_requires_python, | ||
| std::string & | out_name, | ||
| std::string & | out_description, | ||
| std::string & | out_author, | ||
| std::string & | out_version, | ||
| std::string & | error ) |
References InDepsArray, OrcaPlugin, OrcaPluginSettings, parse_pep723_toml(), parse_toml_inline_array(), Root, and unquote_toml_string().
Referenced by parse_pep723_toml().
| std::vector< std::string > Slic3r::anonymous_namespace{PluginFsUtils.cpp}::parse_toml_inline_array | ( | const std::string & | val | ) |
References parse_toml_inline_array(), and unquote_toml_string().
Referenced by parse_pep723_toml(), and parse_toml_inline_array().
| bool Slic3r::anonymous_namespace{PluginFsUtils.cpp}::read_zip_text_file | ( | mz_zip_archive & | archive, |
| const char * | filename, | ||
| std::string & | out, | ||
| std::string & | error ) |
References read_zip_text_file().
Referenced by read_zip_text_file().
| void Slic3r::anonymous_namespace{PluginFsUtils.cpp}::scan_plugin_directory | ( | const std::string & | dir_path, |
| std::vector< PluginDescriptor > & | out ) |
References assign_discovered_plugin_key(), Slic3r::PluginDescriptor::clear_error(), Slic3r::PluginDescriptor::entry_path, Slic3r::find_installed_plugin_entry(), Slic3r::PluginDescriptor::install_state_valid, Slic3r::is_ignored_plugin_directory(), Slic3r::PluginDescriptor::plugin_root, Slic3r::read_install_state(), Slic3r::read_python_plugin_metadata(), Slic3r::read_wheel_plugin_metadata(), scan_plugin_directory(), Slic3r::PluginDescriptor::set_error(), and Slic3r::PluginDescriptor::set_metadata_valid().
Referenced by scan_plugin_directory().
| std::string Slic3r::anonymous_namespace{PluginFsUtils.cpp}::unquote_toml_string | ( | const std::string & | val | ) |
References unquote_toml_string().
Referenced by parse_pep723_toml(), parse_toml_inline_array(), and unquote_toml_string().
| std::string Slic3r::anonymous_namespace{PluginFsUtils.cpp}::zip_entry_name | ( | mz_zip_archive & | archive, |
| const mz_zip_archive_file_stat & | stat ) |
References decode_zip_entry_extra_path(), and zip_entry_name().
Referenced by zip_entry_name().