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 "rodsPath.h"
#include "rodsErrorTable.h"
#include "rodsLog.h"
#include "fsckUtil.h"
#include "miscUtil.h"
#include "scanUtil.h"
#include "checksum.hpp"
#include "rcGlobalExtern.h"
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/convenience.hpp>
#include <iostream>
#include <string>
Go to the source code of this file.
Functions | |
int | fsckObj (rcComm_t *conn, rodsArguments_t *myRodsArgs, rodsPathInp_t *rodsPathInp, SetGenQueryInpFromPhysicalPath strategy, const char *argument_for_SetGenQueryInpFromPhysicalPath) |
int | fsckObjDir (rcComm_t *conn, rodsArguments_t *myRodsArgs, char *inpPath, SetGenQueryInpFromPhysicalPath strategy, const char *argument_for_SetGenQueryInpFromPhysicalPath) |
int | chkObjConsistency (rcComm_t *conn, rodsArguments_t *myRodsArgs, char *inpPath, SetGenQueryInpFromPhysicalPath strategy, const char *argument_for_SetGenQueryInpFromPhysicalPath) |
int chkObjConsistency | ( | rcComm_t * | conn, |
rodsArguments_t * | myRodsArgs, | ||
char * | inpPath, | ||
SetGenQueryInpFromPhysicalPath | strategy, | ||
const char * | argument_for_SetGenQueryInpFromPhysicalPath | ||
) |
Definition at line 112 of file fsckUtil.cpp.
References clearGenQueryInp(), terminate_irods_processes::e, freeGenQueryOut(), NULL, pid_age::p, rcGenQuery(), GenQueryOut::sqlResult, irods.pypyodbc::status, SYS_INTERNAL_ERR, True, USER_CHKSUM_MISMATCH, SqlResult::value, rodsArguments_t::verifyChecksum, and verifyChksumLocFile().
Referenced by fsckObjDir().
int fsckObj | ( | rcComm_t * | conn, |
rodsArguments_t * | myRodsArgs, | ||
rodsPathInp_t * | rodsPathInp, | ||
SetGenQueryInpFromPhysicalPath | strategy, | ||
const char * | argument_for_SetGenQueryInpFromPhysicalPath | ||
) |
Definition at line 23 of file fsckUtil.cpp.
References checkIsMount(), irods::experimental::administration::client::v1::exists(), fsckObjDir(), LOG_ERROR, MAX_PATH_ALLOWED, RodsPathInp::numSrc, RodsPath::outPath, pid_age::p, rodsLog(), RodsPathInp::srcPath, irods.pypyodbc::status, USER_INPUT_PATH_ERR, and USER_STRLEN_TOOLONG.
int fsckObjDir | ( | rcComm_t * | conn, |
rodsArguments_t * | myRodsArgs, | ||
char * | inpPath, | ||
SetGenQueryInpFromPhysicalPath | strategy, | ||
const char * | argument_for_SetGenQueryInpFromPhysicalPath | ||
) |
Definition at line 71 of file fsckUtil.cpp.
References chkObjConsistency(), MAX_PATH_ALLOWED, rodsArguments_t::recursive, irods.pypyodbc::status, and True.
Referenced by fsckObj().