@@ -15,18 +15,18 @@ macro_rules! property {
1515 } ;
1616}
1717
18- /// "rocksdb.num-files-at-level<N>" - returns string containing the number
19- /// of files at level <N>, where <N> is an ASCII representation of a
18+ /// "rocksdb.num-files-at-level` <N>` " - returns string containing the number
19+ /// of files at level ` <N>` , where ` <N>` is an ASCII representation of a
2020/// level number (e.g., "0").
2121pub fn num_files_at_level ( level : usize ) -> CString {
2222 unsafe { level_property ( "num-files-at-level" , level) }
2323}
2424
25- /// "rocksdb.compression-ratio-at-level<N>" - returns string containing the
26- /// compression ratio of data at level <N>, where <N> is an ASCII
25+ /// "rocksdb.compression-ratio-at-level` <N>` " - returns string containing the
26+ /// compression ratio of data at level ` <N>` , where ` <N>` is an ASCII
2727/// representation of a level number (e.g., "0"). Here, compression
2828/// ratio is defined as uncompressed data size / compressed file size.
29- /// Returns "-1.0" if no open files at level <N>.
29+ /// Returns "-1.0" if no open files at level ` <N>` .
3030pub fn compression_ratio_at_level ( level : usize ) -> CString {
3131 unsafe { level_property ( "compression-ratio-at-level" , level) }
3232}
@@ -45,7 +45,7 @@ pub const SSTABLES: &CStr = property!("sstables");
4545pub const CFSTATS : & CStr = property ! ( "CFSTATS" ) ;
4646
4747/// "rocksdb.cfstats-no-file-histogram" - returns a multi-line string with
48- /// general columm family stats per-level over db's lifetime ("L<n>"),
48+ /// general columm family stats per-level over db's lifetime ("L` <n>` "),
4949/// aggregated over db's lifetime ("Sum"), and aggregated over the
5050/// interval since the last retrieval ("Int").
5151/// It could also be used to return the stats in the format of the map.
@@ -192,7 +192,7 @@ pub const ESTIMATE_PENDING_COMPACTION_BYTES: &CStr = property!("estimate-pending
192192/// of the aggregated table properties of the target column family.
193193pub const AGGREGATED_TABLE_PROPERTIES : & CStr = property ! ( "aggregated-table-properties" ) ;
194194
195- /// "rocksdb.aggregated-table-properties-at-level<N>", same as the previous
195+ /// "rocksdb.aggregated-table-properties-at-level` <N>` ", same as the previous
196196/// one but only returns the aggregated table properties of the
197197/// specified level "N" at the target column family.
198198pub fn aggregated_table_properties_at_level ( level : usize ) -> CString {
0 commit comments