Sha256: 8f2e10b231590962e1d43b4dd51085da343f09f3e74245141720de9ff8a8e4c5

Contents?: true

Size: 1.01 KB

Versions: 20

Compression:

Stored size: 1.01 KB

Contents

/*
 * Copyright (C) the libgit2 contributors. All rights reserved.
 *
 * This file is part of libgit2, distributed under the GNU GPL v2 with
 * a Linking Exception. For full terms see the included COPYING file.
 */
#ifndef INCLUDE_worktree_h__
#define INCLUDE_worktree_h__

#include "common.h"

#include "git2/common.h"
#include "git2/worktree.h"

struct git_worktree {
	/* Name of the working tree. This is the name of the
	 * containing directory in the `$PARENT/.git/worktrees/`
	 * directory. */
	char *name;

	/* Path to the where the worktree lives in the filesystem */
	char *worktree_path;
	/* Path to the .git file in the working tree's repository */
	char *gitlink_path;
	/* Path to the .git directory inside the parent's
	 * worktrees directory */
	char *gitdir_path;
	/* Path to the common directory contained in the parent
	 * repository */
	char *commondir_path;
	/* Path to the parent's working directory */
	char *parent_path;

	int locked:1;
};

char *git_worktree__read_link(const char *base, const char *file);

#endif

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
rugged-1.3.2.3 vendor/libgit2/src/worktree.h
rugged-1.3.2.1 vendor/libgit2/src/worktree.h
rugged-1.3.2 vendor/libgit2/src/worktree.h
rugged-1.3.1 vendor/libgit2/src/worktree.h
rugged-1.3.0 vendor/libgit2/src/worktree.h
rugged-1.2.0 vendor/libgit2/src/worktree.h
rugged-1.1.1 vendor/libgit2/src/worktree.h
rugged-1.1.0 vendor/libgit2/src/worktree.h
rugged-1.0.1 vendor/libgit2/src/worktree.h
rugged-0.28.5 vendor/libgit2/src/worktree.h
rugged-1.0.0 vendor/libgit2/src/worktree.h
rugged-0.99.0 vendor/libgit2/src/worktree.h
rugged-0.28.4.1 vendor/libgit2/src/worktree.h
rugged-0.28.4 vendor/libgit2/src/worktree.h
rugged-0.27.10 vendor/libgit2/src/worktree.h
rugged-0.28.3.1 vendor/libgit2/src/worktree.h
rugged-0.28.2 vendor/libgit2/src/worktree.h
rugged-0.28.1 vendor/libgit2/src/worktree.h
rugged-0.28.0 vendor/libgit2/src/worktree.h
rugged-0.27.7 vendor/libgit2/src/worktree.h