This commit is contained in:
jeanlemotan
2024-07-02 18:12:23 +02:00
commit b344afa9fe
89 changed files with 10568 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#pragma once
#include "tl/result.h"
namespace fs
{
class ISource;
class IStreamSource;
class IMapSource;
class ISink;
class IStreamSink;
class IMapSink;
enum class ErrorCode : uint8_t
{
BadPath,
InvalidArgument,
NotFound,
NotAllowed,
SystemError,
NotSupported
};
typedef tl::error<ErrorCode> Error;
}