internal Index(Repository repo) { this.repo = repo; handle = Proxy.git_repository_index(repo.Handle); conflicts = new ConflictCollection(this); repo.RegisterForCleanup(handle); }
internal Index(Repository repo, string indexPath) { this.repo = repo; handle = Proxy.git_index_open(indexPath); Proxy.git_repository_set_index(repo.Handle, handle); conflicts = new ConflictCollection(this); repo.RegisterForCleanup(handle); }
public IndexSourceNode( PlanNodeId id, IndexHandle indexHandle, TableHandle tableHandle, TableLayoutHandle tableLayout, HashSet <Symbol> lookupSymbols, IEnumerable <Symbol> outputSymbols, IDictionary <string, dynamic> assignments, TupleDomainPlaceHolder <dynamic> currentConstraint ) : base(id) { this.IndexHandle = indexHandle ?? throw new ArgumentNullException("indexHandle"); this.TableHandle = tableHandle ?? throw new ArgumentNullException("tableHanlde"); this.TableLayout = tableLayout; this.LookupSymbols = lookupSymbols ?? throw new ArgumentNullException("lookupSymbols"); this.OutputSymbols = outputSymbols ?? throw new ArgumentNullException("outputSymbols"); this.Assignments = assignments ?? throw new ArgumentNullException("assignments"); this.CurrentConstraint = currentConstraint ?? throw new ArgumentNullException("currentConstraint"); }
internal TransientIndex(IndexHandle handle, Repository repo) : base(handle, repo) { }
internal Index(IndexHandle handle, Repository repo) { this.repo = repo; this.handle = handle; conflicts = new ConflictCollection(this); }