mirror of
https://github.com/usatiuk/backup.git
synced 2025-10-26 17:37:47 +01:00
getRefs on objects
This commit is contained in:
@@ -68,6 +68,12 @@ public:
|
||||
/// List of the chunks in file
|
||||
/// Normal file has normal chunks as its contents, for Directory it's empty, Symlink has a chunk with its target path
|
||||
const std::map<size_t, idType> chunks;
|
||||
|
||||
const std::vector<idType> &getRefs() const override;
|
||||
|
||||
private:
|
||||
void makeChunksList() const;
|
||||
mutable std::optional<std::vector<idType>> chunksList{std::nullopt};
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user