Changeset 3297


Ignore:
Timestamp:
Aug 6, 2014, 2:10:04 AM (9 years ago)
Author:
Peter
Message:

fix mess up caused in latest merge (r3295).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/utility.h

    r3295 r3297  
    419419
    420420/// \endcond
    421 
    422 
    423      No error if \a dir already exist. Make parent directories as needed.
    424 
    425      \since New in yat 0.10
    426    */
    427   void mkdir_p(const std::string& dir, mode_t mode=0777);
    428 
    429   /**
    430      same as C function remove but throws errno_error at failure
    431 
    432      \see http://linux.die.net/man/3/remove
    433 
    434      \since New in yat 0.12
    435    */
    436   void remove(const std::string& fn);
    437 
    438   /**
    439      same as C function with same name but throws errno_error if error
    440      is encountered
    441 
    442      \see http://linux.die.net/man/3/rename
    443 
    444      \since New in yat 0.12
    445    */
    446   void rename(const std::string& from, const std::string& to);
    447 
    448   /**
    449      In \a full_str replace every sub-string \a old_str with \a
    450      new_str;
    451 
    452      \since New in yat 0.10
    453    */
    454   void replace(std::string& full_str, std::string old_str, std::string new_str);
    455421
    456422  // template implementations
Note: See TracChangeset for help on using the changeset viewer.