From c7d545c7bd522853b2e56b383a20ffb7cd2cf213 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 5 Apr 2025 19:50:05 +0800 Subject: git2d: Remove UTF-8 checks --- git2d/bare.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'git2d/bare.h') diff --git a/git2d/bare.h b/git2d/bare.h index d494b18..e813464 100644 --- a/git2d/bare.h +++ b/git2d/bare.h @@ -67,4 +67,6 @@ bare_error bare_get_data(struct bare_reader *ctx, uint8_t *dst, uint64_t sz); bare_error bare_put_str(struct bare_writer *ctx, const char *src, uint64_t sz); bare_error bare_get_str(struct bare_reader *ctx, char *dst, uint64_t sz); +/* Note that the _str implementation here does not check for UTF-8 validity. */ + #endif /* BARE_H */ -- cgit v1.2.3