Repository: couchdb-couch-stats Updated Branches: refs/heads/master a060a7560 -> c4039dd69
export functions for use in chttpd_misc Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/commit/c4039dd6 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/tree/c4039dd6 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/diff/c4039dd6 Branch: refs/heads/master Commit: c4039dd69001b6302af54287cf928b61978c674a Parents: a060a75 Author: Robert Newson <[email protected]> Authored: Thu Jun 18 17:19:30 2015 +0100 Committer: Robert Newson <[email protected]> Committed: Thu Jun 18 17:19:30 2015 +0100 ---------------------------------------------------------------------- src/couch_stats_httpd.erl | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/blob/c4039dd6/src/couch_stats_httpd.erl ---------------------------------------------------------------------- diff --git a/src/couch_stats_httpd.erl b/src/couch_stats_httpd.erl index 415ab4e..f31fccf 100644 --- a/src/couch_stats_httpd.erl +++ b/src/couch_stats_httpd.erl @@ -15,6 +15,9 @@ -export([handle_stats_req/1]). +%% exported for use by chttpd_misc +-export([transform_stats/1, nest/1, to_ejson/1, extract_path/2]). + handle_stats_req(#httpd{method='GET', path_parts=[_ | Path]}=Req) -> flush(Req), Stats0 = couch_stats:fetch(),
