1
0
mirror of https://github.com/Zygo/bees.git synced 2025-06-17 01:56:16 +02:00

crawl: remove UUID from file names

Unfortunately we don't get to remove the libuuid dependency because
we still want to read a file that exists in the legacy location.
This commit is contained in:
Zygo Blaxell
2016-12-01 22:07:39 -05:00
parent 38bb70f5d0
commit 06e111c229
3 changed files with 29 additions and 0 deletions

View File

@ -351,6 +351,18 @@ BeesStringFile::BeesStringFile(Fd dir_fd, string name, size_t limit) :
BEESLOG("BeesStringFile " << name_fd(m_dir_fd) << "/" << m_name << " max size " << pretty(m_limit));
}
void
BeesStringFile::name(const string &new_name)
{
m_name = new_name;
}
string
BeesStringFile::name() const
{
return m_name;
}
string
BeesStringFile::read()
{