TINC
Toolkit for Interactive Computation
tinc::FileDependency Struct Reference

#include <CacheManager.hpp>

Public Member Functions

 FileDependency (std::string _file=std::string())
 
 FileDependency (DistributedPath file, std::string modified, uint64_t size, std::string hash)
 
FileDependencyoperator= (const FileDependency &other)
 

Public Attributes

DistributedPath file
 
std::string modified
 
uint64_t size = 0
 
std::string hash
 

Detailed Description

Definition at line 55 of file CacheManager.hpp.

Constructor & Destructor Documentation

◆ FileDependency() [1/2]

tinc::FileDependency::FileDependency ( std::string  _file = std::string())
inline

Definition at line 56 of file CacheManager.hpp.

◆ FileDependency() [2/2]

tinc::FileDependency::FileDependency ( DistributedPath  file,
std::string  modified,
uint64_t  size,
std::string  hash 
)
inline

Definition at line 57 of file CacheManager.hpp.

Member Function Documentation

◆ operator=()

FileDependency& tinc::FileDependency::operator= ( const FileDependency other)

Member Data Documentation

◆ file

DistributedPath tinc::FileDependency::file

Definition at line 63 of file CacheManager.hpp.

◆ hash

std::string tinc::FileDependency::hash

Definition at line 66 of file CacheManager.hpp.

◆ modified

std::string tinc::FileDependency::modified

Definition at line 64 of file CacheManager.hpp.

◆ size

uint64_t tinc::FileDependency::size = 0

Definition at line 65 of file CacheManager.hpp.


The documentation for this struct was generated from the following file: