Functions

FileOperations.cpp File Reference

#include "RakMemoryOverride.h"
#include "_FindFirst.h"
#include "FileOperations.h"
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include "errno.h"
Include dependency graph for FileOperations.cpp:

Go to the source code of this file.

Functions

bool WriteFileWithDirectories (const char *path, char *data, unsigned dataLength)
bool IsSlash (unsigned char c)
void AddSlash (char *input)
bool DirectoryExists (const char *directory)
void QuoteIfSpaces (char *str)
unsigned int GetFileLength (const char *path)

Function Documentation

void AddSlash ( char *  input  ) 

Definition at line 107 of file FileOperations.cpp.

Here is the caller graph for this function:

bool DirectoryExists ( const char *  directory  ) 

Definition at line 121 of file FileOperations.cpp.

Here is the call graph for this function:

unsigned int GetFileLength ( const char *  path  ) 

Definition at line 156 of file FileOperations.cpp.

bool IsSlash ( unsigned char  c  ) 

Definition at line 102 of file FileOperations.cpp.

Here is the caller graph for this function:

void QuoteIfSpaces ( char *  str  ) 

Definition at line 135 of file FileOperations.cpp.

bool WriteFileWithDirectories ( const char *  path,
char *  data,
unsigned  dataLength 
)

Definition at line 24 of file FileOperations.cpp.

Here is the caller graph for this function: