060-timestamps-as-int64.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. diff -rupN seafile-server-5.1.1.orig/lib/repo.vala seafile-server-5.1.1/lib/repo.vala
  2. --- seafile-server-5.1.1.orig/lib/repo.vala 2016-04-19 15:44:32.000000000 +0200
  3. +++ seafile-server-5.1.1/lib/repo.vala 2016-04-25 21:29:33.327962235 +0200
  4. @@ -30,7 +30,7 @@ public class Repo : Object {
  5. // data format version
  6. public int version { get; set; }
  7. - public int last_modify { get; set; }
  8. + public int64 last_modify { get; set; }
  9. public int64 size { get; set; }
  10. public int64 file_count { get; set; }
  11. public string head_cmmt_id { get; set; }
  12. @@ -40,7 +40,7 @@ public class Repo : Object {
  13. public string repo_id { get; set; }
  14. public string repo_name { get; set; }
  15. public string repo_desc { get; set; }
  16. - public int last_modified { get; set; }
  17. + public int64 last_modified { get; set; }
  18. // Section 2: Encryption related
  19. // Members in this section should be set for every Repo object
  20. @@ -63,7 +63,7 @@ public class Repo : Object {
  21. get { return _relay_id; }
  22. set { _relay_id = value; }
  23. }
  24. - public int last_sync_time { get; set; }
  25. + public int64 last_sync_time { get; set; }
  26. public bool auto_sync { get; set; }
  27. public bool worktree_invalid { get; set; }
  28. @@ -155,7 +155,7 @@ public class DeletedEntry : Object {
  29. public string obj_name { get; set; }
  30. public string basedir { get; set; }
  31. public int mode { get; set; }
  32. - public int delete_time { get; set; }
  33. + public int64 delete_time { get; set; }
  34. public int64 file_size { get; set; }
  35. public string scan_stat { get; set; }
  36. }