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.
![]() ![]() |
#include <sys/time.h>
#include "rodsPath.h"
#include "rodsErrorTable.h"
#include "miscUtil.h"
#include "rodsLog.h"
#include "rmUtil.h"
#include "rcGlobalExtern.h"
Go to the source code of this file.
Functions | |
int | rmUtil (rcComm_t *conn, rodsArguments_t *myRodsArgs, rodsPathInp_t *rodsPathInp) |
int | rmDataObjUtil (rcComm_t *conn, char *srcPath, rodsArguments_t *rodsArgs, dataObjInp_t *dataObjInp) |
int | initCondForRm (rodsArguments_t *rodsArgs, dataObjInp_t *dataObjInp, collInp_t *collInp) |
int | rmCollUtil (rcComm_t *conn, char *srcColl, rodsArguments_t *rodsArgs, collInp_t *collInp) |
int initCondForRm | ( | rodsArguments_t * | rodsArgs, |
dataObjInp_t * | dataObjInp, | ||
collInp_t * | collInp | ||
) |
Definition at line 102 of file rmUtil.cpp.
References addKeyVal(), rodsArguments_t::admin, ADMIN_KW, DataObjInp::condInput, CollInp::condInput, rodsArguments_t::empty, EMPTY_BUNDLE_ONLY_KW, rodsArguments_t::force, FORCE_FLAG_KW, LOG_ERROR, LOG_NOTICE, NULL, DataObjInp::openFlags, DataObjInp::oprType, CollInp::oprType, rodsArguments_t::recursive, RECURSIVE_OPR__KW, REPL_NUM_KW, rodsArguments_t::replNum, rodsArguments_t::replNumValue, rodsLog(), seedRandom(), True, rodsArguments_t::unmount, UNREG_OPR, and USER__NULL_INPUT_ERR.
Referenced by rmdirCollUtil(), and rmUtil().
int rmCollUtil | ( | rcComm_t * | conn, |
char * | srcColl, | ||
rodsArguments_t * | rodsArgs, | ||
collInp_t * | collInp | ||
) |
Definition at line 166 of file rmUtil.cpp.
References CollInp::collName, LOG_ERROR, MAX_NAME_LEN, NULL, rcRmColl(), rodsArguments_t::recursive, rodsLog(), rstrcpy(), irods.pypyodbc::status, True, USER__NULL_INPUT_ERR, USER_INPUT_OPTION_ERR, and rodsArguments_t::verbose.
Referenced by rmUtil().
int rmDataObjUtil | ( | rcComm_t * | conn, |
char * | srcPath, | ||
rodsArguments_t * | rodsArgs, | ||
dataObjInp_t * | dataObjInp | ||
) |
Definition at line 73 of file rmUtil.cpp.
References LOG_ERROR, MAX_NAME_LEN, NULL, DataObjInp::objPath, printTiming(), rcDataObjUnlink(), rodsLog(), rstrcpy(), irods.pypyodbc::status, True, USER__NULL_INPUT_ERR, and rodsArguments_t::verbose.
Referenced by rmUtil().
int rmUtil | ( | rcComm_t * | conn, |
rodsArguments_t * | myRodsArgs, | ||
rodsPathInp_t * | rodsPathInp | ||
) |
Definition at line 14 of file rmUtil.cpp.
References CAT_NO_ROWS_FOUND, COLL_OBJ_T, DATA_OBJ_T, rodsArguments_t::dryrun, getRodsObjType(), initCondForRm(), LOG_ERROR, NOT_EXIST_ST, RodsPathInp::numSrc, RodsPath::objState, RodsPath::objType, RodsPath::outPath, rmCollUtil(), rmDataObjUtil(), rodsLog(), rodsLogError(), RodsPathInp::srcPath, irods.pypyodbc::status, True, UNKNOWN_OBJ_T, USER__NULL_INPUT_ERR, USER_INPUT_OPTION_ERR, and USER_INPUT_PATH_ERR.