mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
add server support
This commit is contained in:
parent
c0403f3f38
commit
41a578ab2b
7 changed files with 267 additions and 6 deletions
|
@ -82,7 +82,7 @@ impl<'a> TCString<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
fn as_bytes(&self) -> &[u8] {
|
||||
pub(crate) fn as_bytes(&self) -> &[u8] {
|
||||
match self {
|
||||
TCString::CString(cstring) => cstring.as_bytes(),
|
||||
TCString::CStr(cstr) => cstr.to_bytes(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue