HaikuDepot: notify work status from main window
[haiku.git] / src / apps / haikudepot / util / StorageUtils.h
blob45c025f494274e7c2028c7e42473636e93f733af
1 /*
2 * Copyright 2017, Andrew Lindesay <apl@lindesay.co.nz>.
3 * All rights reserved. Distributed under the terms of the MIT License.
4 */
5 #ifndef PATH_UTILS_H
6 #define PATH_UTILS_H
8 #include <Path.h>
10 class StorageUtils {
12 public:
13 static status_t RemoveDirectoryContents(BPath& path);
14 static status_t AppendToString(BPath& path, BString& result);
15 static status_t ExistsObject(BPath& directory,
16 bool* exists,
17 bool* isDirectory,
18 off_t* size);
21 #endif // PATH_UTILS_H