Remove unused function copy_filesystem_simulation()
The function is no longer used after commit:
b9b4b2e55d
Remove simulation pass ( read test ) on move
This commit is contained in:
parent
a39079211b
commit
6c33a8f5ca
|
@ -140,9 +140,6 @@ private:
|
|||
Partition & partition_dst,
|
||||
Byte_Value min_size,
|
||||
OperationDetail & operationdetail ) ;
|
||||
bool copy_filesystem_simulation( const Partition & partition_src,
|
||||
const Partition & partition_dst,
|
||||
OperationDetail & operationdetail ) ;
|
||||
bool copy_filesystem( const Partition & partition_src,
|
||||
const Partition & partition_dst,
|
||||
OperationDetail & operationdetail,
|
||||
|
|
|
@ -2654,18 +2654,6 @@ bool GParted_Core::copy( const Partition & partition_src,
|
|||
return false ;
|
||||
}
|
||||
|
||||
bool GParted_Core::copy_filesystem_simulation( const Partition & partition_src,
|
||||
const Partition & partition_dst,
|
||||
OperationDetail & operationdetail )
|
||||
{
|
||||
operationdetail .add_child( OperationDetail( _("perform read-only test") ) ) ;
|
||||
|
||||
bool succes = copy_filesystem( partition_src, partition_dst, operationdetail .get_last_child(), true, true ) ;
|
||||
|
||||
operationdetail .get_last_child() .set_status( succes ? STATUS_SUCCES : STATUS_ERROR ) ;
|
||||
return succes ;
|
||||
}
|
||||
|
||||
bool GParted_Core::copy_filesystem( const Partition & partition_src,
|
||||
const Partition & partition_dst,
|
||||
OperationDetail & operationdetail,
|
||||
|
|
Loading…
Reference in New Issue