utils.h 447 B

1234567891011121314151617181920212223242526
  1. /**
  2. * \brerf
  3. * \author pengcheng(pengcheng@adcsoft.cn)
  4. * \date 2019.11.22
  5. * \attention
  6. *
  7. */
  8. #ifndef ADCSOFT_LOOK_ROUND_H__
  9. #define ADCSOFT_LOOK_ROUND_H__
  10. #include <cstdlib>
  11. #include <errno.h>
  12. #include <sys/stat.h>
  13. #include <sys/types.h>
  14. #include <unistd.h>
  15. #include <string>
  16. namespace adcsoft
  17. {
  18. bool IsAbsolutePath(const std::string& path);
  19. bool CreateSubdirectory(const std::string& rel_path);
  20. }
  21. #endif // !ADCSOFT_LOOK_ROUND_H__