pw_kvs: Rename format.h to entry.h
Change-Id: Iad7148cad736d57a9ff5d23772a002c40508b6d4
diff --git a/pw_kvs/BUILD b/pw_kvs/BUILD
index 25a0eaa..bb38bcb 100644
--- a/pw_kvs/BUILD
+++ b/pw_kvs/BUILD
@@ -27,10 +27,10 @@
srcs = [
"alignment.cc",
"checksum.cc",
+ "entry.cc",
"flash_memory.cc",
- "format.cc",
"key_value_store.cc",
- "pw_kvs_private/format.h",
+ "pw_kvs_private/entry.h",
"pw_kvs_private/macros.h",
],
hdrs = [
diff --git a/pw_kvs/BUILD.gn b/pw_kvs/BUILD.gn
index bd19c75..33c5ad8 100644
--- a/pw_kvs/BUILD.gn
+++ b/pw_kvs/BUILD.gn
@@ -31,10 +31,10 @@
sources = [
"alignment.cc",
"checksum.cc",
+ "entry.cc",
"flash_memory.cc",
- "format.cc",
"key_value_store.cc",
- "pw_kvs_private/format.h",
+ "pw_kvs_private/entry.h",
"pw_kvs_private/macros.h",
]
sources += public
diff --git a/pw_kvs/format.cc b/pw_kvs/entry.cc
similarity index 98%
rename from pw_kvs/format.cc
rename to pw_kvs/entry.cc
index cb1eaf5..41cdaf4 100644
--- a/pw_kvs/format.cc
+++ b/pw_kvs/entry.cc
@@ -12,7 +12,7 @@
// License for the specific language governing permissions and limitations under
// the License.
-#include "pw_kvs_private/format.h"
+#include "pw_kvs_private/entry.h"
#include <cinttypes>
diff --git a/pw_kvs/entry_test.cc b/pw_kvs/entry_test.cc
index 069f557..194978e 100644
--- a/pw_kvs/entry_test.cc
+++ b/pw_kvs/entry_test.cc
@@ -12,9 +12,10 @@
// License for the specific language governing permissions and limitations under
// the License.
+#include "pw_kvs_private/entry.h"
+
#include "gtest/gtest.h"
#include "pw_kvs/flash_memory.h"
-#include "pw_kvs_private/format.h"
namespace pw::kvs {
namespace {
diff --git a/pw_kvs/key_value_store.cc b/pw_kvs/key_value_store.cc
index a67fc2c..fd54654 100644
--- a/pw_kvs/key_value_store.cc
+++ b/pw_kvs/key_value_store.cc
@@ -20,7 +20,7 @@
#include <type_traits>
#define PW_LOG_USE_ULTRA_SHORT_NAMES 1
-#include "pw_kvs_private/format.h"
+#include "pw_kvs_private/entry.h"
#include "pw_kvs_private/macros.h"
#include "pw_log/log.h"
diff --git a/pw_kvs/key_value_store_test.cc b/pw_kvs/key_value_store_test.cc
index c26af39..70e5db1 100644
--- a/pw_kvs/key_value_store_test.cc
+++ b/pw_kvs/key_value_store_test.cc
@@ -30,7 +30,7 @@
#include "pw_checksum/ccitt_crc16.h"
#include "pw_kvs/crc16_checksum.h"
#include "pw_kvs/flash_memory.h"
-#include "pw_kvs_private/format.h"
+#include "pw_kvs_private/entry.h"
#include "pw_kvs_private/macros.h"
#include "pw_log/log.h"
#include "pw_span/span.h"
diff --git a/pw_kvs/pw_kvs_private/format.h b/pw_kvs/pw_kvs_private/entry.h
similarity index 100%
rename from pw_kvs/pw_kvs_private/format.h
rename to pw_kvs/pw_kvs_private/entry.h