snix/tvix/nix-compat/src/aterm/mod.rs
Florian Klink 413135b925 refactor(nix-compat/aterm): update function names a bit
Don't call functions bstr or str when they return BString or String,
it's confusing.

Rename them to `string` and `bytes`. We might be able to generalize over
this being BString or Vec<u8> later.

Change-Id: I8198551ed3ba1cfc479bf7e3cbbc13a426faf4c0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12257
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
2024-08-20 15:14:27 +00:00

7 lines
189 B
Rust

mod escape;
mod parser;
pub(crate) use escape::escape_bytes;
pub(crate) use parser::parse_bytes_field;
pub(crate) use parser::parse_string_field;
pub(crate) use parser::parse_string_list;