mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-25 22:44:05 +00:00
Improve the documentation of LoadLatestOptions
Summary: Improve the documentation of LoadLatestOptions Test Plan: No code change Reviewers: anthony, IslamAbdelRahman, kradhakrishnan, sdong Reviewed By: sdong Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D54087
This commit is contained in:
parent
a7b6f0748a
commit
730a422c3a
|
@ -44,6 +44,12 @@ namespace rocksdb {
|
|||
// examples/options_file_example.cc demonstrates how to use this function
|
||||
// to open a RocksDB instance.
|
||||
//
|
||||
// @return the function returns an OK status when it went successfully. If
|
||||
// the specified "dbpath" does not contain any option file, then a
|
||||
// Status::NotFound will be returned. A return value other than
|
||||
// Status::OK or Status::NotFound indicates there're some error related
|
||||
// to the options file itself.
|
||||
//
|
||||
// @see LoadOptionsFromFile
|
||||
Status LoadLatestOptions(const std::string& dbpath, Env* env,
|
||||
DBOptions* db_options,
|
||||
|
|
Loading…
Reference in a new issue