diff options
author | Runxi Yu <me@runxiyu.org> | 2025-04-05 19:50:05 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-04-05 19:50:05 +0800 |
commit | c7d545c7bd522853b2e56b383a20ffb7cd2cf213 (patch) | |
tree | 089f32792d92b0d6e191087cda0642f68118ea45 /git2d/bare.h | |
parent | .gitattributes: Ignore CI and linter configuration (diff) | |
download | forge-c7d545c7bd522853b2e56b383a20ffb7cd2cf213.tar.gz forge-c7d545c7bd522853b2e56b383a20ffb7cd2cf213.tar.zst forge-c7d545c7bd522853b2e56b383a20ffb7cd2cf213.zip |
git2d: Remove UTF-8 checks
Diffstat (limited to 'git2d/bare.h')
-rw-r--r-- | git2d/bare.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |