Files
atom/native/linux/io_utils.h
2012-09-20 16:24:08 -07:00

23 lines
425 B
C++

#ifndef IO_UTILS_H_
#define IO_UTILS_H_
#pragma once
#include <string>
/**
* Read file at path and append to output string
*/
int io_utils_read(std::string path, std::string* output);
/**
* Get realpath for given path that is relative to the app path
*/
std::string io_utils_real_app_path(std::string relativePath);
/**
* Get path to directory where atom app resides
*/
std::string io_util_app_directory();
#endif