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)  

trimUtil.cpp File Reference
#include <sys/time.h>
#include "rodsPath.h"
#include "rodsErrorTable.h"
#include "rodsLog.h"
#include "miscUtil.h"
#include "trimUtil.h"
#include "rcGlobalExtern.h"
Include dependency graph for trimUtil.cpp:

Go to the source code of this file.


int trimUtil (rcComm_t *conn, rodsEnv *myRodsEnv, rodsArguments_t *myRodsArgs, rodsPathInp_t *rodsPathInp)
int trimDataObjUtil (rcComm_t *conn, char *srcPath, rodsArguments_t *rodsArgs, dataObjInp_t *dataObjInp)
int initCondForTrim (rodsArguments_t *rodsArgs, dataObjInp_t *dataObjInp)
int trimCollUtil (rcComm_t *conn, char *srcColl, rodsEnv *myRodsEnv, rodsArguments_t *rodsArgs, dataObjInp_t *dataObjInp)


rodsLong_t TotalSizeTrimmed = 0
int TotalTrimmed = 0

Function Documentation

◆ initCondForTrim()

◆ trimCollUtil()

int trimCollUtil ( rcComm_t conn,
char *  srcColl,
rodsEnv myRodsEnv,
rodsArguments_t rodsArgs,
dataObjInp_t dataObjInp 

◆ trimDataObjUtil()

int trimDataObjUtil ( rcComm_t conn,
char *  srcPath,
rodsArguments_t rodsArgs,
dataObjInp_t dataObjInp 

Definition at line 75 of file trimUtil.cpp.

References DATA_OBJ_T, INVALID_OBJECT_TYPE, LOG_ERROR, MAX_NAME_LEN, NULL, DataObjInp::objPath, rodsObjStat::objSize, rcDataObjTrim(), rcObjStat(), rodsLog(), rstrcpy(), splitPathByKey(), irods.pypyodbc::status, TotalSizeTrimmed, TotalTrimmed, True, USER__NULL_INPUT_ERR, and rodsArguments_t::verbose.

Referenced by trimCollUtil(), and trimUtil().

Here is the call graph for this function:

◆ trimUtil()

Variable Documentation

◆ TotalSizeTrimmed

rodsLong_t TotalSizeTrimmed = 0

Definition at line 13 of file trimUtil.cpp.

Referenced by trimDataObjUtil(), and trimUtil().

◆ TotalTrimmed

int TotalTrimmed = 0

Definition at line 14 of file trimUtil.cpp.

Referenced by trimDataObjUtil(), and trimUtil().