mirror of
https://github.com/textmate/textmate.git
synced 2026-01-23 13:47:54 -05:00
24 lines
418 B
C++
24 lines
418 B
C++
#ifndef FILE_STATUS_H_CIXQCEQO
|
|
#define FILE_STATUS_H_CIXQCEQO
|
|
|
|
#include <oak/misc.h>
|
|
|
|
enum file_status_t
|
|
{
|
|
kFileTestWritable,
|
|
kFileTestWritableByRoot,
|
|
kFileTestNotWritable,
|
|
kFileTestNotWritableButOwner,
|
|
kFileTestNoParent,
|
|
kFileTestReadOnly,
|
|
kFileTestUnhandled,
|
|
};
|
|
|
|
namespace file
|
|
{
|
|
PUBLIC file_status_t status (std::string const& path);
|
|
|
|
} /* file */
|
|
|
|
#endif /* end of include guard: FILE_STATUS_H_CIXQCEQO */
|