Android_UEFIInstaller.BasicInstaller.FormatDataPartition C# (CSharp) Method

FormatDataPartition() private method

private FormatDataPartition ( String FilePath ) : System.Boolean
FilePath String
return System.Boolean
        private Boolean FormatDataPartition(String FilePath)
        {
            Log.updateStatus("Status: initialize Data.img... Please wait");
            Log.write("-Initialize Data.img");
            string ExecutablePath = Environment.CurrentDirectory + @"\mke2fs.exe";
            string ExecutableArgs = String.Format("-F -t ext4 \"{0}\\data.img\"", FilePath);

            if (!ExecuteCLICommand(ExecutablePath, ExecutableArgs))
                return false;

            return true;
        }