libfossil
fsl_card_F Struct Reference

Represents one file entry in a Manifest/Control Artifact (i.e., a checkin version). More...

#include "fossil-content.h"

Data Fields

char externalStrings
 An internal optimization. More...
 
char * name
 Name of the file. More...
 
fsl_file_perm_t perm
 File permissions. More...
 
char * priorName
 Previous name if the file was renamed, else NULL. More...
 
fsl_uuid_str uuid
 UUID of the underlying blob record for the file. More...
 

Detailed Description

Represents one file entry in a Manifest/Control Artifact (i.e., a checkin version).

All of the non-const pointers in this class are owned by the respective instance of the class, and must neither be modified nor freed except via the appropriate APIs.

Definition at line 1638 of file fossil-content.h.

Field Documentation

char fsl_card_F::externalStrings

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_free() will DTRT and delete the strings (or not).

Definition at line 1670 of file fossil-content.h.

char* fsl_card_F::name

Name of the file.

Definition at line 1642 of file fossil-content.h.

fsl_file_perm_t fsl_card_F::perm

File permissions.

Fossil only supports one "permission" per file, and it does not necessarily map to a real filesystem-level permissino.

See also
fsl_file_perm_t

Definition at line 1659 of file fossil-content.h.

char* fsl_card_F::priorName

Previous name if the file was renamed, else NULL.

Definition at line 1651 of file fossil-content.h.

fsl_uuid_str fsl_card_F::uuid

UUID of the underlying blob record for the file.

NULL for removed entries.

Definition at line 1647 of file fossil-content.h.


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