32
32
#pragma once
33
33
34
34
#include " complex/Common/Result.hpp"
35
+ #include " complex/complex_export.hpp"
35
36
36
37
#include < filesystem>
37
38
@@ -40,23 +41,23 @@ namespace fs = std::filesystem;
40
41
namespace complex ::FileUtilities
41
42
{
42
43
// -----------------------------------------------------------------------------
43
- bool HasWriteAccess (const std::string& path);
44
+ bool COMPLEX_EXPORT HasWriteAccess (const std::string& path);
44
45
45
46
// -----------------------------------------------------------------------------
46
- Result<> ValidateInputFile (const fs::path& path);
47
+ Result<> COMPLEX_EXPORT ValidateInputFile (const fs::path& path);
47
48
48
49
// -----------------------------------------------------------------------------
49
- Result<> ValidateInputDir (const fs::path& path);
50
+ Result<> COMPLEX_EXPORT ValidateInputDir (const fs::path& path);
50
51
51
52
// -----------------------------------------------------------------------------
52
- Result<> ValidateDirectoryWritePermission (const fs::path& path, bool isFile);
53
+ Result<> COMPLEX_EXPORT ValidateDirectoryWritePermission (const fs::path& path, bool isFile);
53
54
54
55
// -----------------------------------------------------------------------------
55
- Result<> ValidateOutputFile (const fs::path& path);
56
+ Result<> COMPLEX_EXPORT ValidateOutputFile (const fs::path& path);
56
57
57
58
// -----------------------------------------------------------------------------
58
- Result<> ValidateOutputDir (const fs::path& path);
59
+ Result<> COMPLEX_EXPORT ValidateOutputDir (const fs::path& path);
59
60
60
61
// -----------------------------------------------------------------------------
61
- Result<> ValidateCSVFile (const std::string& filePath);
62
+ Result<> COMPLEX_EXPORT ValidateCSVFile (const std::string& filePath);
62
63
} // namespace complex::FileUtilities
0 commit comments