/*** Copyright (C) 2023 Jamie Reece Wilson (a/k/a "Reece"). All rights reserved. File: FSPlatformDevices.Linux.cpp Date: 2023-08-11 Date: 2024-02-XX Author: Reece ***/ // TODO: recover work in progress work dated last year #include #include "FS.hpp" #include "FSPlatformDevices.hpp" namespace Aurora::IO::FS { AUKN_SYM AuString GetRootFromPath(const AuString &path) { return {}; } AUKN_SYM AuResult GetDeviceFromPath(const AuString &path) { return {}; } AUKN_SYM AuResult GetLogicalMountFromPath(const AuString &fileOrDirPath) { return {}; } AUKN_SYM AuResult GetDeviceFromRoot(const AuString &root) { return {}; } AUKN_SYM AuUInt32 GetLogicalSectorSizeFromPath(const AuString &path) { return 0; } AUKN_SYM LogicalUsedResponse GetLogicalUsedFromLogicalDevice(const AuString &logicalMountPath) { return {}; } AUKN_SYM AuUInt64 GetDeviceSizeInBytes(const AuString &physicalDevicePath) { return 0; } AUKN_SYM AuUInt32 GetPhysicalSectorSizeFromPath(const AuString &path) { return 0; } AuList SysGetFSDevices() { AuList devices; return devices; } AUKN_SYM AuUInt32 GetPerformanceBufferSizeFromPath(const AuString &path) { return 4096; } AUKN_SYM LogicalUsedResponse GetLogicalUsedFromPath(const AuString &path) { auto rootPath = GetLogicalMountFromPath(path); if (!rootPath) { return {}; } return GetLogicalUsedFromLogicalDevice(rootPath.GetResult()); } }