mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-07 22:58:34 +02:00
File, Directory Permissions
- Added default and override permissions for files and directories.
This commit is contained in:
parent
061bf4882e
commit
82c4b05fe4
6 changed files with 50 additions and 10 deletions
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
File& operator= (const File&);
|
||||
|
||||
virtual bool create ();
|
||||
virtual bool create (int mode = 0640);
|
||||
virtual bool remove () const;
|
||||
|
||||
bool open ();
|
||||
|
@ -72,7 +72,7 @@ public:
|
|||
virtual time_t ctime () const;
|
||||
virtual time_t btime () const;
|
||||
|
||||
static bool create (const std::string&);
|
||||
static bool create (const std::string&, int mode = 0640);
|
||||
static std::string read (const std::string&);
|
||||
static bool read (const std::string&, std::string&);
|
||||
static bool read (const std::string&, std::vector <std::string>&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue