irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

filesystem.cpp File Reference
#include "filesystem/filesystem.hpp"
#include "filesystem/path.hpp"
#include "filesystem/collection_iterator.hpp"
#include "rodsClient.h"
#include "specificQuery.h"
#include "objStat.h"
#include "dataObjCopy.h"
#include "dataObjRename.h"
#include "dataObjUnlink.h"
#include "dataObjChksum.h"
#include "openCollection.h"
#include "closeCollection.h"
#include "readCollection.h"
#include "modAccessControl.h"
#include "collCreate.h"
#include "modColl.h"
#include "rmColl.h"
#include "modAVUMetadata.h"
#include "data_object_modify_info.h"
#include "rcMisc.h"
#include "rodsErrorTable.h"
#include "irods_log.hpp"
#include "irods_error.hpp"
#include "irods_exception.hpp"
#include "irods_query.hpp"
#include "irods_at_scope_exit.hpp"
#include "query_builder.hpp"
#include <boost/optional.hpp>
#include "fmt/format.h"
#include <cctype>
#include <cstring>
#include <string>
#include <iterator>
#include <exception>
#include <sstream>
#include <iomanip>
#include <algorithm>
Include dependency graph for filesystem.cpp:

Go to the source code of this file.

Namespaces

 irods
 
 irods::experimental
 
 irods::experimental::filesystem
 
 irods::experimental::filesystem::client
 

Functions

auto irods::experimental::filesystem::client::copy (rcComm_t &_comm, const path &_from, const path &_to, copy_options _options=copy_options::none) -> void
 
auto irods::experimental::filesystem::client::copy_data_object (rcComm_t &_comm, const path &_from, const path &_to, copy_options _options=copy_options::none) -> bool
 
auto irods::experimental::filesystem::client::create_collection (rcComm_t &_comm, const path &_p) -> bool
 
auto irods::experimental::filesystem::client::create_collection (rcComm_t &_comm, const path &_p, const path &_existing_p) -> bool
 
auto irods::experimental::filesystem::client::create_collections (rcComm_t &_comm, const path &_p) -> bool
 
auto irods::experimental::filesystem::client::exists (object_status _s) noexcept -> bool
 
auto irods::experimental::filesystem::client::exists (rcComm_t &_comm, const path &_p) -> bool
 
auto irods::experimental::filesystem::client::equivalent (rcComm_t &_comm, const path &_p1, const path &_p2) -> bool
 
auto irods::experimental::filesystem::client::data_object_size (rcComm_t &_comm, const path &_p) -> std::uintmax_t
 
auto irods::experimental::filesystem::client::is_collection (object_status _s) noexcept -> bool
 
auto irods::experimental::filesystem::client::is_collection (rcComm_t &_comm, const path &_p) -> bool
 
auto irods::experimental::filesystem::client::is_empty (rcComm_t &_comm, const path &_p) -> bool
 
auto irods::experimental::filesystem::client::is_other (object_status _s) noexcept -> bool
 
auto irods::experimental::filesystem::client::is_other (rcComm_t &_comm, const path &_p) -> bool
 
auto irods::experimental::filesystem::client::is_data_object (object_status _s) noexcept -> bool
 
auto irods::experimental::filesystem::client::is_data_object (rcComm_t &_comm, const path &_p) -> bool
 
auto irods::experimental::filesystem::client::last_write_time (rcComm_t &_comm, const path &_p) -> object_time_type
 
auto irods::experimental::filesystem::client::last_write_time (rcComm_t &_comm, const path &_p, object_time_type _new_time) -> void
 
auto irods::experimental::filesystem::client::remove (rcComm_t &_comm, const path &_p, remove_options _opts=remove_options::none) -> bool
 
auto irods::experimental::filesystem::client::remove_all (rcComm_t &_comm, const path &_p, remove_options _opts=remove_options::none) -> std::uintmax_t
 
auto irods::experimental::filesystem::client::permissions (rcComm_t &_comm, const path &_p, const std::string &_user_or_group, perms _prms) -> void
 
auto irods::experimental::filesystem::client::rename (rcComm_t &_comm, const path &_from, const path &_to) -> void
 
auto irods::experimental::filesystem::client::move (rcComm_t &_comm, const path &_old_p, const path &_new_p) -> void
 
auto irods::experimental::filesystem::client::data_object_checksum (rcComm_t &_comm, const path &_path, const boost::variant< int, replica_number > &_replica_number, verification_calculation _calculation=verification_calculation::none) -> std::vector< checksum >
 
auto irods::experimental::filesystem::client::status (rcComm_t &_comm, const path &_p) -> object_status
 
auto irods::experimental::filesystem::client::status_known (object_status _s) noexcept -> bool
 
auto irods::experimental::filesystem::client::get_metadata (rcComm_t &_comm, const path &_path) -> std::vector< metadata >
 
auto irods::experimental::filesystem::client::set_metadata (rcComm_t &_comm, const path &_path, const metadata &_metadata) -> void
 
auto irods::experimental::filesystem::client::add_metadata (rcComm_t &_comm, const path &_path, const metadata &_metadata) -> void
 
auto irods::experimental::filesystem::client::remove_metadata (rcComm_t &_comm, const path &_path, const metadata &_metadata) -> void
 

Variable Documentation

◆ ctime

long long ctime

Definition at line 108 of file filesystem.cpp.

Referenced by rodsLog(), and rodsLogAndErrorMsg().

◆ error

int error

Definition at line 101 of file filesystem.cpp.

Referenced by irods::assert_error(), irods::assert_pass(), irods::plugin_base::call(), irods::dynamic_operation_execution_manager< T, C, DONT_AUDIT_RULE >::call(), irods::api_entry::call_handler(), irods::check_sent_sid(), irods::client_server_negotiation_for_server(), createErrorNode(), db_check_auth_op(), db_make_limited_pw_op(), db_make_temp_pw_op(), db_open_op(), irods::rule_engine_context_manager< T, C, AUDIT_RULE >::exec_rule(), irods::pluggable_rule_engine< default_re_ctx >::exec_rule(), irods::pluggable_rule_engine< default_re_ctx >::exec_rule_expression(), irods::pluggable_rule_engine< default_re_ctx >::exec_rule_text(), fileConcatenate(), irods::forward_server_control_command(), get_catalog_service_role(), get_default_rule_plugin_instance(), irods::environment_properties::get_property(), get_resc_id_cond_for_hier_cond(), get_strict_acls(), getMutexName(), getSharedMemoryName(), irods::impostor_resource::impostor_resource(), instantiate_shared_memory(), irods::kill_server(), list_rule_plugin_instances(), irods::pluggable_rule_engine< default_re_ctx >::list_rules(), irods::configuration_parser::load_json_object(), matchPattern(), native_auth_establish_context(), non_blockingFileCopyPlugin(), obfRmPw(), irods::serialize::operator()(), osauth_auth_establish_context(), pam_auth_client_start(), parse_program_options(), parseAndComputeRuleAdapter(), parseAndComputeRuleNewEnv(), plugin_factory(), irods::server_control_executor::process_operation(), repl_file_rebalance(), irods::pluggable_rule_engine< default_re_ctx >::rule_exists(), irods::server_operation_shutdown(), setRECacheSaltFromEnv(), start(), irods::pluggable_rule_engine< default_re_ctx >::start_operation(), irods::pluggable_rule_engine< default_re_ctx >::stop_operation(), typeFunction3(), typeRule(), uninstantiate_shared_memory(), and unix_file_copy().

◆ id

◆ mode

◆ mtime

long long mtime

Definition at line 109 of file filesystem.cpp.

◆ no_trash

◆ owner_name

std::string owner_name

Definition at line 106 of file filesystem.cpp.

◆ owner_zone

std::string owner_zone

Definition at line 107 of file filesystem.cpp.

◆ prms

std::vector<entity_permission> prms

Definition at line 110 of file filesystem.cpp.

◆ recursive

◆ size

◆ type

int type

Definition at line 103 of file filesystem.cpp.

Referenced by irods.pyparsing.ParserElement::__add__(), irods.pyparsing.ParserElement::__and__(), irods.pyparsing.ParseBaseException::__dir__(), irods.pyparsing.ParseResults::__dir__(), irods.pyparsing.ParserElement::__mul__(), irods.pyparsing.ParserElement::__or__(), irods.pyparsing.ParserElement::__radd__(), irods.pyparsing.ParserElement::__rand__(), irods.pyparsing.ParserElement::__ror__(), irods.pyparsing.ParserElement::__rsub__(), irods.pyparsing.ParserElement::__rxor__(), irods.pyparsing.ParserElement::__sub__(), irods.pyparsing.ParserElement::__xor__(), _rsDataObjLock(), addMsParam(), addMsParamToArray(), irods.six::callable(), checkAndGetObjectId(), irods.pypyodbc.Cursor::columns(), irods::configuration_parser::convert_json(), convertResToString(), convertToExprType(), createPhyBundleDataObj(), dereference(), evaluateExpression3(), irods.pypyodbc.Cursor::execdirect(), executeFilesystemLockCommand(), fillMsParam(), irods.pypyodbc.Cursor::foreignKeys(), fsDataObjLock(), fsDataObjUnlock(), irods::structured_object::get_re_vars(), irods.pypyodbc::get_type(), getElemType(), getLockCmdAndType(), getMsParamByType(), getSessionVar(), handleCompoundCondition(), irods::network_manager::init_from_type(), irods::auth_manager::init_from_type(), initDataOprInp(), instantiate(), isIterable(), isIterableBaseRuleType(), msiGetIcatTime(), msiSetQuota(), narrow(), newConstructorFD(), newConstructorFD2(), newDeconstructorFD(), newExprType(), newExternalFD(), newFunctionFD(), newNode(), newRuleIndexListFD(), newSimpType(), newTypingConstraint(), irods.six.Iterator::next(), obfSetDefaultHashType(), occursIn(), occursInEquiv(), parseAndComputeRule(), irods.pypyodbc.Cursor::prepare(), irods.pypyodbc.Cursor::primaryKeys(), printType(), irods.pypyodbc.Cursor::procedurecolumns(), irods.pypyodbc.Cursor::procedures(), processCoercion(), replaceDynamicWithNewTVar(), replInOutStruct(), resolveSpecCollType(), irods::resource_to_kvp(), irods::serialize_resource_plugin_to_json(), setVariableValue(), splitVarL(), splitVarR(), irods.pypyodbc.Cursor::statistics(), irods.pypyodbc.Cursor::tables(), tautologyLt(), trimMsParamArray(), typeToString(), typeToStringParser(), unifyNonTvars(), unifyTVarL(), unifyTVarR(), and unifyWith().