unixfs_sync_git

package
v0.51.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SyncFromGitWorkdir

func SyncFromGitWorkdir(
	ctx context.Context,
	destHandle *unixfs.FSHandle,
	srcDir string,
	deleteMode unixfs_sync.DeleteMode,
	filterCb unixfs_sync.FilterCb,
) error

SyncFromGitWorkdir calls "git ls-files" using os/exec to determine the list of files in a Git workdir. Includes untracked and ignores gitignored files. It synchronizes the files from the list to the destination UnixFS.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL