mirror of
https://github.com/haiwen/seafile.git
synced 2025-01-07 03:17:13 +08:00
remove unused code from task.vala
This commit is contained in:
parent
122426efb8
commit
a453895fe8
@ -2,21 +2,10 @@ namespace Seafile {
|
||||
|
||||
public class Task : Object {
|
||||
|
||||
public char _tx_id[37];
|
||||
public string tx_id {
|
||||
get { return (string)_tx_id; }
|
||||
set { Posix.memcpy(_tx_id, value, 36); _tx_id[36] = '\0'; }
|
||||
}
|
||||
|
||||
public string ttype { get; set; }
|
||||
|
||||
public string repo_id { get; set; }
|
||||
|
||||
public string dest_id { get; set; }
|
||||
public string from_branch { get; set; }
|
||||
|
||||
public string to_branch { get; set; }
|
||||
|
||||
public string state { get; set; }
|
||||
|
||||
public string rt_state { get; set; }
|
||||
@ -28,19 +17,6 @@ public class Task : Object {
|
||||
public int fs_objects_done { get; set; }
|
||||
|
||||
public int rate { get; set; }
|
||||
|
||||
public int64 _rsize; // the size remain
|
||||
public int64 rsize{
|
||||
get { return _rsize; }
|
||||
set { _rsize = value; }
|
||||
}
|
||||
|
||||
public int64 _dsize; // the size has done
|
||||
public int64 dsize {
|
||||
get { return _dsize; }
|
||||
set { _dsize = value; }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class CloneTask : Object {
|
||||
|
Loading…
Reference in New Issue
Block a user