/usr/include/mimetic/os/fileop.h is in libmimetic-dev 0.9.7-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | /***************************************************************************
copyright : (C) 2002-2008 by Stefano Barbato
email : stefano@codesink.org
$Id: fileop.h,v 1.7 2008-10-07 11:06:26 tat Exp $
***************************************************************************/
#ifndef _MIMETIC_OS_FILEOP_H
#define _MIMETIC_OS_FILEOP_H
#include <string>
/**
*@author
*/
namespace mimetic
{
/// Defines some file utility functions
struct FileOp
{
typedef unsigned int uint;
/* static funtions */
static bool remove(const std::string&);
static bool move(const std::string&, const std::string&);
static bool exists(const std::string&);
static uint size(const std::string&);
static uint ctime(const std::string&); // creation time
static uint atime(const std::string&); // last time accessed(r/w)
static uint mtime(const std::string&); // last time written
};
}
#endif
|