gitlocal
No long description provided.
Installation
dagger install github.com/juli3nk/daggerverse/gitlocal@8475d9845a15b34dd1ed4a6981b97837ead3da3eEntrypoint
Return Type
Gitlocal !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| source | Directory ! | - | No description provided | 
Example
dagger -m github.com/juli3nk/daggerverse/gitlocal@8475d9845a15b34dd1ed4a6981b97837ead3da3e call \
 --source DIR_PATHfunc (m *MyModule) Example(source *dagger.Directory) *dagger.Gitlocal  {
	return dag.
			Gitlocal(source)
}@function
def example(source: dagger.Directory) -> dagger.Gitlocal:
	return (
		dag.gitlocal(source)
	)@func()
example(source: Directory): Gitlocal {
	return dag
		.gitlocal(source)
}Types
Gitlocal 🔗
worktree() 🔗
Return Type
Directory !Example
dagger -m github.com/juli3nk/daggerverse/gitlocal@8475d9845a15b34dd1ed4a6981b97837ead3da3e call \
 --source DIR_PATH worktreefunc (m *MyModule) Example(source *dagger.Directory) *dagger.Directory  {
	return dag.
			Gitlocal(source).
			Worktree()
}@function
def example(source: dagger.Directory) -> dagger.Directory:
	return (
		dag.gitlocal(source)
		.worktree()
	)@func()
example(source: Directory): Directory {
	return dag
		.gitlocal(source)
		.worktree()
}uncommited() 🔗
Returns if there is uncommited files
Return Type
Boolean !Example
dagger -m github.com/juli3nk/daggerverse/gitlocal@8475d9845a15b34dd1ed4a6981b97837ead3da3e call \
 --source DIR_PATH uncommitedfunc (m *MyModule) Example(ctx context.Context, source *dagger.Directory) bool  {
	return dag.
			Gitlocal(source).
			Uncommited(ctx)
}@function
async def example(source: dagger.Directory) -> bool:
	return await (
		dag.gitlocal(source)
		.uncommited()
	)@func()
async example(source: Directory): Promise<boolean> {
	return dag
		.gitlocal(source)
		.uncommited()
}getModifiedFiles() 🔗
Return Type
[String ! ] !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| compareWithWorkingTree | Boolean ! | - | No description provided | 
Example
dagger -m github.com/juli3nk/daggerverse/gitlocal@8475d9845a15b34dd1ed4a6981b97837ead3da3e call \
 --source DIR_PATH get-modified-files --compare-with-working-tree booleanfunc (m *MyModule) Example(ctx context.Context, source *dagger.Directory, compareWithWorkingTree bool) []string  {
	return dag.
			Gitlocal(source).
			GetModifiedFiles(ctx, compareWithWorkingTree)
}@function
async def example(source: dagger.Directory, compare_with_working_tree: bool) -> List[str]:
	return await (
		dag.gitlocal(source)
		.get_modified_files(compare_with_working_tree)
	)@func()
async example(source: Directory, compareWithWorkingTree: boolean): Promise<string[]> {
	return dag
		.gitlocal(source)
		.getModifiedFiles(compareWithWorkingTree)
}getLatestCommit() 🔗
Return Type
String !Example
dagger -m github.com/juli3nk/daggerverse/gitlocal@8475d9845a15b34dd1ed4a6981b97837ead3da3e call \
 --source DIR_PATH get-latest-commitfunc (m *MyModule) Example(ctx context.Context, source *dagger.Directory) string  {
	return dag.
			Gitlocal(source).
			GetLatestCommit(ctx)
}@function
async def example(source: dagger.Directory) -> str:
	return await (
		dag.gitlocal(source)
		.get_latest_commit()
	)@func()
async example(source: Directory): Promise<string> {
	return dag
		.gitlocal(source)
		.getLatestCommit()
}getLatestTag() 🔗
Return Type
String !Example
dagger -m github.com/juli3nk/daggerverse/gitlocal@8475d9845a15b34dd1ed4a6981b97837ead3da3e call \
 --source DIR_PATH get-latest-tagfunc (m *MyModule) Example(ctx context.Context, source *dagger.Directory) string  {
	return dag.
			Gitlocal(source).
			GetLatestTag(ctx)
}@function
async def example(source: dagger.Directory) -> str:
	return await (
		dag.gitlocal(source)
		.get_latest_tag()
	)@func()
async example(source: Directory): Promise<string> {
	return dag
		.gitlocal(source)
		.getLatestTag()
}