{"action":"opened","issue":{"url":"https://api.github.com/repos/google/leveldb/issues/318","labels_url":"https://api.github.com/repos/google/leveldb/issues/318/labels{/name}","comments_url":"https://api.github.com/repos/google/leveldb/issues/318/comments","events_url":"https://api.github.com/repos/google/leveldb/issues/318/events","html_url":"https://github.com/google/leveldb/issues/318","id":118602765,"number":318,"title":"Need an api GetDbSize","user":{"login":"ketor","id":3497139,"avatar_url":"https://avatars.githubusercontent.com/u/3497139?v=3","gravatar_id":"","url":"https://api.github.com/users/ketor","html_url":"https://github.com/ketor","followers_url":"https://api.github.com/users/ketor/followers","following_url":"https://api.github.com/users/ketor/following{/other_user}","gists_url":"https://api.github.com/users/ketor/gists{/gist_id}","starred_url":"https://api.github.com/users/ketor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ketor/subscriptions","organizations_url":"https://api.github.com/users/ketor/orgs","repos_url":"https://api.github.com/users/ketor/repos","events_url":"https://api.github.com/users/ketor/events{/privacy}","received_events_url":"https://api.github.com/users/ketor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-24T12:54:07Z","updated_at":"2015-11-24T12:54:07Z","closed_at":null,"body":"In some usercases, we need to get the totol file size of leveldb, and we need to get this information in our C++ programs directly.\r\n\r\nBut there is no function in db.h that provide total file size of all level files.\r\nI would like to create a PR to fix this. Please help to review.\r\n\r\nThanks."}}