File: task.vala

package info (click to toggle)
seafile 9.0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,072 kB
  • sloc: ansic: 45,052; python: 6,601; sh: 272; makefile: 268; cpp: 93
file content (30 lines) | stat: -rw-r--r-- 719 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
namespace Seafile {

public class Task : Object {

    public string ttype { get; set; }

	public string repo_id { get; set; }

	public string state { get; set; }

	public string rt_state { get; set; }

    public int64 block_total { get; set; }
    public int64 block_done { get; set; } // the number of blocks sent or received

    public int fs_objects_total { get; set; }
    public int fs_objects_done { get; set; }

	public int rate { get; set; }
}

public class CloneTask : Object {
       public string state { get; set; }
       public int error { get; set; }
       public string repo_id { get; set; }
       public string repo_name { get; set; }
       public string worktree { get; set; }
}

} // namespace