SVCS - English Documentation
Loading...
Searching...
No Matches
RemoteManager.cxx File Reference

Implementation of the RemoteManager class. More...

#include "../include/RemoteManager.hxx"
#include <fstream>
#include <sstream>
#include <iostream>

Namespaces

namespace  svcs::server
 Server-side components and administration commands.

Detailed Description

Implementation of the RemoteManager class.

This file implements the methods for the RemoteManager class. It handles the loading, saving, and in-memory management of remote repository configurations. Persistence is handled by reading from and writing to a dedicated 'remotes' file (e.g., /path/to/repo/remotes) in a Git-config-like format.

Note
This implementation assumes the configuration is in a separate 'remotes' file at the root of the repository, not inside .svcs/config.