|
libfossil
|
F-cards each represent one file entry in a Manifest Artifact (i.e., a checkin version). More...
#include "repo.h"
Data Fields | |
| bool | deckOwnsStrings |
| An internal optimization. | |
| char * | name |
| Name of the file. | |
| fsl_fileperm_e | perm |
| File permissions. | |
| char * | priorName |
| Previous name if the file was renamed, else NULL. | |
| fsl_uuid_str | uuid |
| UUID of the underlying blob record for the file. | |
F-cards each represent one file entry in a Manifest Artifact (i.e., a checkin version).
All of the non-const pointers in this class are owned by the respective instance of the class OR by the fsl_deck which created it, and must neither be modified nor freed except via the appropriate APIs.
| bool fsl_card_F::deckOwnsStrings |
An internal optimization.
Do not mess with this. When this is true, the various string members of this struct are not owned by this struct, but by the deck which created this struct. This is used when loading decks from storage - the strings are pointed to the original content data, rather than strdup()'d copies of it. fsl_card_F_clean() will DTRT and delete the strings (or not).
| fsl_fileperm_e fsl_card_F::perm |
File permissions.
Fossil only supports one "permission" per file, and it does not necessarily map to a real filesystem-level permission.
| char* fsl_card_F::priorName |
| fsl_uuid_str fsl_card_F::uuid |