SVCS - English Documentation
Loading...
Searching...
No Matches
svcs::server::Remote Struct Reference

Represents a single remote repository configuration. More...

#include <RemoteManager.hxx>

Public Member Functions

 Remote (const std::string &name, const std::string &url)
 Constructs a Remote struct.

Public Attributes

std::string name
 The shortname of the remote (e.g., "origin").
std::string url
 The URL (path or network address) of the remote.
std::string fetch_spec
 The refspec defining what to fetch (e.g., "+refs/heads/*:refs/remotes/origin/*").

Detailed Description

Represents a single remote repository configuration.

Stores the name, URL, and fetch specification (refspec) for a configured remote. The fetch spec is automatically generated upon construction.

Constructor & Destructor Documentation

◆ Remote()

svcs::server::Remote::Remote ( const std::string & name,
const std::string & url )
inline

Constructs a Remote struct.

Parameters
nameThe shortname for the remote.
urlThe URL for the remote.

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