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:
12
src/bees.cc
12
src/bees.cc
@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user