1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-04-27 19:15:07 +00:00
seafile-server/lib/dirent.vala
2016-08-19 13:54:16 +08:00

37 lines
842 B
Vala

namespace Seafile {
public class Dirent : Object {
// _id is for fast access from c code. id is for
// vala to automatically generate a property. Note,
// if a Vala property is start with _, it is not
// translated into a GObject property.
public string obj_id { set; get; }
public string obj_name { set; get; }
public int mode { set; get; }
public int version { set; get; }
public int64 mtime { set; get; }
public int64 size { set; get; }
public string modifier { set; get;}
public string permission { set; get; }
public bool is_locked { set; get; }
public string lock_owner { set; get; }
public int64 lock_time { set; get; }
public bool is_shared { set; get; }
}
public class FileLastModifiedInfo : Object {
public string file_name { set; get; }
public int64 last_modified { set; get; }
}
} // namespace