Developer documentation
Version 3.0.3-105-gd3941f44
utils.h File Reference
#include <cstdint>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "debug.h"
#include "app.h"
#include "mrtrix.h"
#include "types.h"
#include "file/path.h"
#include "file/config.h"

Go to the source code of this file.

Namespaces

namespace  MR
 
namespace  MR::File
 

Functions

void MR::File::remove (const std::string &file)
 
void MR::File::create (const std::string &filename, int64_t size=0)
 
void MR::File::resize (const std::string &filename, int64_t size)
 
bool MR::File::is_tempfile (const std::string &name, const char *suffix=NULL)
 
std::string MR::File::create_tempfile (int64_t size=0, const char *suffix=NULL)
 
void MR::File::mkdir (const std::string &folder)
 
void MR::File::rmdir (const std::string &folder, bool recursive=false)