mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
23 lines
425 B
C++
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
|