diff options
Diffstat (limited to 'cmds/installd/utils.cpp')
-rw-r--r-- | cmds/installd/utils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/installd/utils.cpp b/cmds/installd/utils.cpp index 65b25a495b..4d9b71016e 100644 --- a/cmds/installd/utils.cpp +++ b/cmds/installd/utils.cpp @@ -424,6 +424,7 @@ std::vector<userid_t> get_known_users(const char* volume_uuid) { return users; } + long get_project_id(uid_t uid, long start_project_id_range) { return uid - AID_APP_START + start_project_id_range; } @@ -462,6 +463,7 @@ int set_quota_project_id(const std::string& path, long project_id, bool set_inhe } return 0; } + int calculate_tree_size(const std::string& path, int64_t* size, int32_t include_gid, int32_t exclude_gid, bool exclude_apps) { FTS *fts; |