20#ifndef LIBREPCB_CORE_OUTPUTDIRECTORYWRITER_H
21#define LIBREPCB_CORE_OUTPUTDIRECTORYWRITER_H
26#include "../fileio/filepath.h"
This class represents absolute, well-formatted paths to files or directories.
Definition: filepath.h:129
The OutputDirectoryWriter class.
Definition: outputdirectorywriter.h:44
bool mIndexLoaded
Definition: outputdirectorywriter.h:79
QList< FilePath > findUnknownFiles(const QSet< Uuid > &knownJobs) const
Definition: outputdirectorywriter.cpp:152
const FilePath mDirPath
Definition: outputdirectorywriter.h:76
bool mIndexModified
Definition: outputdirectorywriter.h:80
void removeUnknownFiles(const QList< FilePath > &files)
Definition: outputdirectorywriter.cpp:171
void storeIndex()
Definition: outputdirectorywriter.cpp:91
void removeObsoleteFiles(const Uuid &job)
Definition: outputdirectorywriter.cpp:138
void aboutToWriteFile(const FilePath &fp)
const FilePath & getDirectoryPath() const noexcept
Definition: outputdirectorywriter.h:55
const QMultiHash< Uuid, FilePath > & getWrittenFiles() const noexcept
Definition: outputdirectorywriter.h:56
QMap< FilePath, Uuid > mIndex
Definition: outputdirectorywriter.h:78
bool loadIndex()
Definition: outputdirectorywriter.cpp:65
OutputDirectoryWriter()=delete
void aboutToRemoveFile(const FilePath &fp)
const FilePath mIndexFilePath
Definition: outputdirectorywriter.h:77
FilePath beginWritingFile(const Uuid &job, const QString &relPath)
Definition: outputdirectorywriter.cpp:106
OutputDirectoryWriter & operator=(const OutputDirectoryWriter &rhs)=delete
OutputDirectoryWriter(const OutputDirectoryWriter &other)=delete
QMultiHash< Uuid, FilePath > mWrittenFiles
Definition: outputdirectorywriter.h:81
~OutputDirectoryWriter() noexcept
Definition: outputdirectorywriter.cpp:50
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:58
Definition: occmodel.cpp:77