libfossil
fsl_branch_opt Struct Reference

Holds options for use with fsl_branch_create(). More...

#include "repo.h"

Collaboration diagram for fsl_branch_opt:

Data Fields

fsl_id_t basisRid
 The checkin RID from which the branch should originate.
char const * bgColor
 Optional background color for the fossil(1) HTML timeline view.
char const * comment
 Optional comment (may be NULL).
bool isPrivate
 If true, the branch will be marked as private.
double mtime
 The julian time of the branch.
char const * name
 The name of the branch.
char const * user
 User name for the branch.

Detailed Description

Holds options for use with fsl_branch_create().

Definition at line 2935 of file repo.h.

Field Documentation

◆ basisRid

fsl_id_t fsl_branch_opt::basisRid

The checkin RID from which the branch should originate.

Definition at line 2939 of file repo.h.

◆ bgColor

char const* fsl_branch_opt::bgColor

Optional background color for the fossil(1) HTML timeline view.

Must be in #RRGGBB format, but this API does not validate it as such.

Definition at line 2960 of file repo.h.

◆ comment

char const* fsl_branch_opt::comment

Optional comment (may be NULL).

If NULL or empty, a default comment is generated (because fossil requires a non-empty comment string).

Definition at line 2954 of file repo.h.

◆ isPrivate

bool fsl_branch_opt::isPrivate

If true, the branch will be marked as private.

Definition at line 2969 of file repo.h.

◆ mtime

double fsl_branch_opt::mtime

The julian time of the branch.

If 0 or less, default is the current time.

Definition at line 2965 of file repo.h.

◆ name

char const* fsl_branch_opt::name

The name of the branch.

May not be NULL or empty.

Definition at line 2943 of file repo.h.

◆ user

char const* fsl_branch_opt::user

User name for the branch.

If NULL, fsl_cx_user_get() will be used.

Definition at line 2948 of file repo.h.


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