[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] Revision b1ba5ae45d6071193bed30bfe5139b1ead3747
From: |
monotone |
Subject: |
[Monotone-commits-diffs] Revision b1ba5ae45d6071193bed30bfe5139b1ead3747b2 |
Date: |
Wed, 28 Jan 2009 07:10:14 +0100 |
-----------------------------------------------------------------
Revision: b1ba5ae45d6071193bed30bfe5139b1ead3747b2
Ancestor: 18728d789ff76153a04e5f39df1ceb9d4c5ecb5b
Author: address@hidden
Date: 2009-01-28T06:02:21
Branch: net.venge.monotone
Modified files:
packet.cc simplestring_xform.cc simplestring_xform.hh
ChangeLog:
new string trimming functions
* packet.cc (consume_file_data, consume_file_delta, consume_revision_data,
consume_revision_cert, consume_public_key, consume_key_pair,
consume_old_private_key): rename trim_ws to trim
* simplestring_xform.{cc,hh} (trim_left, trim_right): new functions to trim one
side of a string;
(trim_ws): rename to ...
(trim): ... this and add a chars argument to specify characters to be trimmed;
add unit tests for new trimming functions
txt5twVhWIlSw.txt
Description: Diff [18728d789ff76153a04e5f39df1ceb9d4c5ecb5b] -> [b1ba5ae45d6071193bed30bfe5139b1ead3747b2]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] Revision b1ba5ae45d6071193bed30bfe5139b1ead3747b2,
monotone <=