CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
helpers.cc File Reference
#include "helpers.h"
#include <stdio.h>
#include <sys/time.h>
#include <sys/types.h>
#include <utime.h>
#include <string>
#include <vector>
#include "data_dir_mgmt.h"
#include "garbage_collector.h"
#include "shrinkwrap/fs_traversal_interface.h"
#include "util/logging.h"
#include "util/platform.h"
#include "util/posix.h"
#include "xattr.h"
Include dependency graph for helpers.cc:

Go to the source code of this file.

Macros

#define CVMFS_HAS_LUTIMES   1
 

Functions

void InitialFsOperations (struct fs_traversal_context *ctx)
 
void FinalizeFsOperations (struct fs_traversal_context *ctx)
 
void InitializeWarningFile (struct fs_traversal_context *ctx)
 
std::string BuildPath (struct fs_traversal_context *ctx, const char *dir)
 
std::string BuildHiddenPath (struct fs_traversal_context *ctx, const char *ident)
 
int PosixSetMeta (const char *path, const struct cvmfs_attr *stat_info, bool set_permissions)
 
bool BackupMtimes (std::string path, struct utimbuf *mtimes)
 

Macro Definition Documentation

#define CVMFS_HAS_LUTIMES   1

This file is part of the CernVM File System.

Definition at line 35 of file helpers.cc.

Function Documentation

bool BackupMtimes ( std::string  path,
struct utimbuf *  mtimes 
)

Definition at line 116 of file helpers.cc.

Referenced by posix_do_fopen(), posix_do_link(), posix_do_mkdir(), posix_do_rmdir(), posix_do_symlink(), and posix_do_unlink().

Here is the caller graph for this function:

std::string BuildHiddenPath ( struct fs_traversal_context ctx,
const char *  ident 
)

Definition at line 72 of file helpers.cc.

Referenced by posix_do_link(), posix_get_handle(), posix_has_file(), posix_is_hash_consistent(), and posix_touch().

Here is the caller graph for this function:

std::string BuildPath ( struct fs_traversal_context ctx,
const char *  dir 
)
void FinalizeFsOperations ( struct fs_traversal_context ctx)

Definition at line 45 of file helpers.cc.

Referenced by posix_finalize().

Here is the call graph for this function:

Here is the caller graph for this function:

void InitialFsOperations ( struct fs_traversal_context ctx)

INITIALIZATION FUNCTIONS

Definition at line 39 of file helpers.cc.

Referenced by posix_initialize().

Here is the call graph for this function:

Here is the caller graph for this function:

void InitializeWarningFile ( struct fs_traversal_context ctx)

Definition at line 49 of file helpers.cc.

Referenced by InitialFsOperations().

Here is the call graph for this function:

Here is the caller graph for this function:

int PosixSetMeta ( const char *  path,
const struct cvmfs_attr stat_info,
bool  set_permissions 
)

Definition at line 79 of file helpers.cc.

Referenced by posix_do_mkdir(), posix_do_symlink(), posix_set_meta(), and posix_touch().

Here is the call graph for this function:

Here is the caller graph for this function: