git/builtin/credential-store.c

#define USE_THE_REPOSITORY_VARIABLE
#include "builtin.h"
#include "config.h"
#include "gettext.h"
#include "lockfile.h"
#include "credential.h"
#include "path.h"
#include "string-list.h"
#include "parse-options.h"
#include "write-or-die.h"

static struct lock_file credential_lock;

static int parse_credential_file(const char *fn,
				  struct credential *c,
				  void (*match_cb)(struct credential *),
				  void (*other_cb)(struct strbuf *),
				  int match_password)
{}

static void print_entry(struct credential *c)
{}

static void print_line(struct strbuf *buf)
{}

static void rewrite_credential_file(const char *fn, struct credential *c,
				    struct strbuf *extra, int match_password)
{}

static int is_rfc3986_unreserved(char ch)
{}

static int is_rfc3986_reserved_or_unreserved(char ch)
{}

static void store_credential_file(const char *fn, struct credential *c)
{}

static void store_credential(const struct string_list *fns, struct credential *c)
{}

static void remove_credential(const struct string_list *fns, struct credential *c)
{}

static void lookup_credential(const struct string_list *fns, struct credential *c)
{}

int cmd_credential_store(int argc,
			 const char **argv,
			 const char *prefix,
			 struct repository *repo UNUSED)
{}