CernVM-FS
2.12.0
|
#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"
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) |
#define CVMFS_HAS_LUTIMES 1 |
This file is part of the CernVM File System.
Definition at line 35 of file helpers.cc.
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().
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().
std::string BuildPath | ( | struct fs_traversal_context * | ctx, |
const char * | dir | ||
) |
UTIL FUNCTIONS
Definition at line 61 of file helpers.cc.
Referenced by InitializeWarningFile(), posix_cleanup_path(), posix_do_link(), posix_do_mkdir(), posix_do_rmdir(), posix_do_symlink(), posix_do_unlink(), posix_get_stat(), posix_initialize(), posix_is_hash_consistent(), posix_list_dir(), and posix_set_meta().
void FinalizeFsOperations | ( | struct fs_traversal_context * | ctx | ) |
Definition at line 45 of file helpers.cc.
Referenced by posix_finalize().
void InitialFsOperations | ( | struct fs_traversal_context * | ctx | ) |
INITIALIZATION FUNCTIONS
Definition at line 39 of file helpers.cc.
Referenced by posix_initialize().
void InitializeWarningFile | ( | struct fs_traversal_context * | ctx | ) |
Definition at line 49 of file helpers.cc.
Referenced by InitialFsOperations().
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().