BuildReportTool.ReportManager.GetBuildExeFileDataFolderSize C# (CSharp) Method

GetBuildExeFileDataFolderSize() static private method

static private GetBuildExeFileDataFolderSize ( string buildFilePath ) : double
buildFilePath string
return double
	static double GetBuildExeFileDataFolderSize(string buildFilePath)
	{
		double exeFileByteSize = BuildReportTool.Util.GetPathSizeInBytes(buildFilePath);

		// get the exe file but remove the file type and add _Data. that's the folder name
		string dataFolderPath = BuildReportTool.Util.ReplaceFileType(buildFilePath, "_Data");

		//Debug.Log("dataFolderPath: " + dataFolderPath);

		double dataFolderByteSize = BuildReportTool.Util.GetPathSizeInBytes(dataFolderPath);

		return (exeFileByteSize + dataFolderByteSize);
	}