Skip to content

Commit

Permalink
Doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Feb 15, 2024
1 parent c0b1df7 commit 748567b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/libstore/filetransfer.hh
Original file line number Diff line number Diff line change
Expand Up @@ -75,28 +75,30 @@ struct FileTransferRequest

struct FileTransferResult
{
/*
/**
* Whether this is a cache hit (i.e. the ETag supplied in the
* request is still valid). If so, `data` is empty.
*/
bool cached = false;

/*
/**
* The ETag of the object.
*/
std::string etag;

/*
/**
* All URLs visited in the redirect chain.
*/
std::vector<std::string> urls;

/* The response body. */
/**
* The response body.
*/
std::string data;

uint64_t bodySize = 0;

/*
/**
* An "immutable" URL for this resource (i.e. one whose contents
* will never change), as returned by the `Link: <url>;
* rel="immutable"` header.
Expand Down

0 comments on commit 748567b

Please sign in to comment.