dagger -m github.com/valorl/daggerverse/git-files-changed@e8b25b9c6589f13b362dcaf94acda967f26f6700 call \
files
func (m *myModule) example(ctx context.Context, source *Directory) []string {
return dag.
GitFilesChanged().
Files(ctx, source)
}
@function
async def example(source: dagger.Directory) -> List[str]:
return await (
dag.git_files_changed()
.files(source)
)
@func()
async example(source: Directory): Promise<string[]> {
return dag
.gitFilesChanged()
.files(source)
}