SaveFile() public method

public SaveFile ( VolumeFile volumeFile ) : VolumeFile
volumeFile VolumeFile
return VolumeFile
コード例 #1
0
ファイル: VolumeManager.cs プロジェクト: KSP-KOS/KOS
 protected bool CopyFile(VolumeFile volumeFile, GlobalPath destinationPath, Volume targetVolume,
     bool verifyFreeSpace)
 {
     return targetVolume.SaveFile(destinationPath, volumeFile.ReadAll(), verifyFreeSpace) != null;
 }
コード例 #2
0
ファイル: VolumeManager.cs プロジェクト: minorDeveloper/KOS
 protected bool CopyFile(VolumeFile volumeFile, GlobalPath destinationPath, Volume targetVolume,
                         bool verifyFreeSpace)
 {
     return(targetVolume.SaveFile(destinationPath, volumeFile.ReadAll(), verifyFreeSpace) != null);
 }