Make internally-used FileSystemProxy methods private

This commit is contained in:
Alex Barney 2019-10-23 17:45:28 -05:00
parent 436de21c86
commit 901b72a186

View file

@ -194,7 +194,7 @@ namespace LibHac.FsService
return DeleteSaveDataFileSystemBySaveDataSpaceIdImpl(spaceId, saveDataId); return DeleteSaveDataFileSystemBySaveDataSpaceIdImpl(spaceId, saveDataId);
} }
public Result DeleteSaveDataFileSystemBySaveDataSpaceIdImpl(SaveDataSpaceId spaceId, ulong saveDataId) private Result DeleteSaveDataFileSystemBySaveDataSpaceIdImpl(SaveDataSpaceId spaceId, ulong saveDataId)
{ {
if (saveDataId != FileSystemServer.SaveIndexerId) if (saveDataId != FileSystemServer.SaveIndexerId)
{ {
@ -220,7 +220,7 @@ namespace LibHac.FsService
return DeleteSaveDataFileSystemImpl(spaceId, saveDataId); return DeleteSaveDataFileSystemImpl(spaceId, saveDataId);
} }
public Result GetSaveDataInfo(out SaveDataInfo info, SaveDataSpaceId spaceId, ref SaveDataAttribute attribute) private Result GetSaveDataInfo(out SaveDataInfo info, SaveDataSpaceId spaceId, ref SaveDataAttribute attribute)
{ {
info = default; info = default;
@ -256,7 +256,7 @@ namespace LibHac.FsService
throw new NotImplementedException(); throw new NotImplementedException();
} }
public Result CreateSaveDataFileSystemImpl(ref SaveDataAttribute attribute, ref SaveDataCreateInfo createInfo, private Result CreateSaveDataFileSystemImpl(ref SaveDataAttribute attribute, ref SaveDataCreateInfo createInfo,
ref SaveMetaCreateInfo metaCreateInfo, ref OptionalHashSalt hashSalt, bool something) ref SaveMetaCreateInfo metaCreateInfo, ref OptionalHashSalt hashSalt, bool something)
{ {
ulong saveDataId = 0; ulong saveDataId = 0;
@ -429,7 +429,7 @@ namespace LibHac.FsService
return CreateUserSaveDataFileSystem(ref attribute, ref createInfo, ref metaCreateInfo, ref hashSaltCopy); return CreateUserSaveDataFileSystem(ref attribute, ref createInfo, ref metaCreateInfo, ref hashSaltCopy);
} }
public Result CreateUserSaveDataFileSystem(ref SaveDataAttribute attribute, ref SaveDataCreateInfo createInfo, private Result CreateUserSaveDataFileSystem(ref SaveDataAttribute attribute, ref SaveDataCreateInfo createInfo,
ref SaveMetaCreateInfo metaCreateInfo, ref OptionalHashSalt hashSalt) ref SaveMetaCreateInfo metaCreateInfo, ref OptionalHashSalt hashSalt)
{ {
return CreateSaveDataFileSystemImpl(ref attribute, ref createInfo, ref metaCreateInfo, ref hashSalt, false); return CreateSaveDataFileSystemImpl(ref attribute, ref createInfo, ref metaCreateInfo, ref hashSalt, false);