Пример #1
0
        protected override Result OpenFileImpl(out IFile file, string path, OpenMode mode)
        {
            Result result = SaveDataFileSystemCore.OpenFile(out file, path, mode);

            return(SaveResults.ConvertToExternalResult(result));
        }
Пример #2
0
        protected override Result DeleteFileImpl(string path)
        {
            Result result = SaveDataFileSystemCore.DeleteFile(path);

            return(SaveResults.ConvertToExternalResult(result));
        }
Пример #3
0
        protected override Result OpenDirectoryImpl(out IDirectory directory, string path, OpenDirectoryMode mode)
        {
            Result result = SaveDataFileSystemCore.OpenDirectory(out directory, path, mode);

            return(SaveResults.ConvertToExternalResult(result));
        }
Пример #4
0
        protected override Result CreateFileImpl(string path, long size, CreateFileOptions options)
        {
            Result result = SaveDataFileSystemCore.CreateFile(path, size, options);

            return(SaveResults.ConvertToExternalResult(result));
        }
Пример #5
0
        protected override Result CleanDirectoryRecursivelyImpl(string path)
        {
            Result result = SaveDataFileSystemCore.CleanDirectoryRecursively(path);

            return(SaveResults.ConvertToExternalResult(result));
        }
Пример #6
0
        protected override Result GetTotalSpaceSizeImpl(out long totalSpace, string path)
        {
            Result result = SaveDataFileSystemCore.GetTotalSpaceSize(out totalSpace, path);

            return(SaveResults.ConvertToExternalResult(result));
        }
Пример #7
0
        protected override Result DoCreateFile(U8Span path, long size, CreateFileOptions options)
        {
            Result result = SaveDataFileSystemCore.CreateFile(path, size, options);

            return(SaveResults.ConvertToExternalResult(result).LogConverted(result));
        }
Пример #8
0
        protected override Result DoGetEntryType(out DirectoryEntryType entryType, U8Span path)
        {
            Result result = SaveDataFileSystemCore.GetEntryType(out entryType, path);

            return(SaveResults.ConvertToExternalResult(result).LogConverted(result));
        }
Пример #9
0
        protected override Result DoGetTotalSpaceSize(out long totalSpace, U8Span path)
        {
            Result result = SaveDataFileSystemCore.GetTotalSpaceSize(out totalSpace, path);

            return(SaveResults.ConvertToExternalResult(result).LogConverted(result));
        }
Пример #10
0
        protected override Result DoOpenFile(out IFile file, U8Span path, OpenMode mode)
        {
            Result result = SaveDataFileSystemCore.OpenFile(out file, path, mode);

            return(SaveResults.ConvertToExternalResult(result).LogConverted(result));
        }
Пример #11
0
        protected override Result DoRenameFile(U8Span oldPath, U8Span newPath)
        {
            Result result = SaveDataFileSystemCore.RenameFile(oldPath, newPath);

            return(SaveResults.ConvertToExternalResult(result).LogConverted(result));
        }
Пример #12
0
        protected override Result DoOpenDirectory(out IDirectory directory, U8Span path, OpenDirectoryMode mode)
        {
            Result result = SaveDataFileSystemCore.OpenDirectory(out directory, path, mode);

            return(SaveResults.ConvertToExternalResult(result).LogConverted(result));
        }
Пример #13
0
        protected override Result DoDeleteFile(U8Span path)
        {
            Result result = SaveDataFileSystemCore.DeleteFile(path);

            return(SaveResults.ConvertToExternalResult(result).LogConverted(result));
        }
Пример #14
0
        protected override Result DoCleanDirectoryRecursively(U8Span path)
        {
            Result result = SaveDataFileSystemCore.CleanDirectoryRecursively(path);

            return(SaveResults.ConvertToExternalResult(result).LogConverted(result));
        }
Пример #15
0
        protected override Result RenameFileImpl(string oldPath, string newPath)
        {
            Result result = SaveDataFileSystemCore.RenameFile(oldPath, newPath);

            return(SaveResults.ConvertToExternalResult(result));
        }
Пример #16
0
        protected override Result DoCommit()
        {
            Result result = Commit(KeySet);

            return(SaveResults.ConvertToExternalResult(result).LogConverted(result));
        }
Пример #17
0
        protected override Result GetEntryTypeImpl(out DirectoryEntryType entryType, string path)
        {
            Result result = SaveDataFileSystemCore.GetEntryType(out entryType, path);

            return(SaveResults.ConvertToExternalResult(result));
        }
Пример #18
0
        protected override Result CreateDirectoryImpl(string path)
        {
            Result result = SaveDataFileSystemCore.CreateDirectory(path);

            return(SaveResults.ConvertToExternalResult(result));
        }
Пример #19
0
        protected override Result CommitImpl()
        {
            Result result = Commit(Keyset);

            return(SaveResults.ConvertToExternalResult(result));
        }
Пример #20
0
        protected override Result GetFreeSpaceSizeImpl(out long freeSpace, U8Span path)
        {
            Result result = SaveDataFileSystemCore.GetFreeSpaceSize(out freeSpace, path);

            return(SaveResults.ConvertToExternalResult(result).LogConverted(result));
        }