Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.03 KB

File metadata and controls

36 lines (29 loc) · 1.03 KB
layout default
menu_item api
title Fetch
description Version 0.19.0
return_to
API Documentation Index
/api/
sections
initOptions PRUNE
#initOptions
#PRUNE

Fetch.initOptions SyncExperimental

var result = Fetch.initOptions(opts, version);
Parameters Type
opts FetchOptions the git_fetch_options instance to initialize.
version Number the version of the struct; you should pass GIT_FETCH_OPTIONS_VERSION here.
Returns
Number Zero on success; -1 on failure.

Fetch.PRUNE ENUM

| Flag | Value | | --- | --- | --- | | Fetch.PRUNE.GIT_FETCH_PRUNE_UNSPECIFIED | 0 | | Fetch.PRUNE.GIT_FETCH_PRUNE | 1 | | Fetch.PRUNE.GIT_FETCH_NO_PRUNE | 2 |