12 lines
336 B
C#
12 lines
336 B
C#
using System.IO;
|
|
using ShrinkDataSaver;
|
|
|
|
namespace ShrinkSDK.Godot;
|
|
|
|
public static class ShrinkGodotStorage
|
|
{
|
|
public static LocalStorageProvider CreateRenameOnly(string rootPath) =>
|
|
new(rootPath, LocalStorageCommitStrategy.RenameOnly,
|
|
(source, destination) => File.Move(source, destination, overwrite: true));
|
|
}
|