awesome-ci
No long description provided.
Installation
dagger install github.com/tsirysndr/daggerverse/awesome-ci@2f1cb7fe110ad3c893ca9cb844b14634593f8b07
Entrypoint
Return Type
AwesomeCi
Example
dagger -m github.com/tsirysndr/daggerverse/awesome-ci@2f1cb7fe110ad3c893ca9cb844b14634593f8b07 call \
func (m *myModule) example() *AwesomeCi {
return dag.
AwesomeCi()
}
@function
def example() -> dag.AwesomeCi:
return (
dag.awesome_ci()
)
@func()
example(): AwesomeCi {
return dag
.awesomeCi()
}
Types
AwesomeCi 🔗
dev() 🔗
Returns a container with awesome-ci installed.
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/awesome-ci@2f1cb7fe110ad3c893ca9cb844b14634593f8b07 call \
dev
func (m *myModule) example() {
return dag.
AwesomeCi().
Dev()
}
@function
def example() -> :
return (
dag.awesome_ci()
.dev()
)
@func()
example(): {
return dag
.awesomeCi()
.dev()
}
gitConflicts() 🔗
Scan files and check if they contain git conflicts.
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
path | StringKind | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/awesome-ci@2f1cb7fe110ad3c893ca9cb844b14634593f8b07 call \
git-conflicts
func (m *myModule) example() {
return dag.
AwesomeCi().
GitConflicts()
}
@function
def example() -> :
return (
dag.awesome_ci()
.git_conflicts()
)
@func()
example(): {
return dag
.awesomeCi()
.gitConflicts()
}
gitIgnored() 🔗
Scan git directory and see if ignored files are still in git cache.
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
path | StringKind | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/awesome-ci@2f1cb7fe110ad3c893ca9cb844b14634593f8b07 call \
git-ignored
func (m *myModule) example() {
return dag.
AwesomeCi().
GitIgnored()
}
@function
def example() -> :
return (
dag.awesome_ci()
.git_ignored()
)
@func()
example(): {
return dag
.awesomeCi()
.gitIgnored()
}
fileCr() 🔗
Scan files and check if they contain CR (Carriage Return only).
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
path | StringKind | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/awesome-ci@2f1cb7fe110ad3c893ca9cb844b14634593f8b07 call \
file-cr
func (m *myModule) example() {
return dag.
AwesomeCi().
FileCr()
}
@function
def example() -> :
return (
dag.awesome_ci()
.file_cr()
)
@func()
example(): {
return dag
.awesomeCi()
.fileCr()
}
fileCrlf() 🔗
Scan files and check if they contain CRLF (Windows Line Feeds).
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
path | StringKind | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/awesome-ci@2f1cb7fe110ad3c893ca9cb844b14634593f8b07 call \
file-crlf
func (m *myModule) example() {
return dag.
AwesomeCi().
FileCrlf()
}
@function
def example() -> :
return (
dag.awesome_ci()
.file_crlf()
)
@func()
example(): {
return dag
.awesomeCi()
.fileCrlf()
}
fileEmpty() 🔗
Scan files and check if they are empty (0 bytes).
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
path | StringKind | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/awesome-ci@2f1cb7fe110ad3c893ca9cb844b14634593f8b07 call \
file-empty
func (m *myModule) example() {
return dag.
AwesomeCi().
FileEmpty()
}
@function
def example() -> :
return (
dag.awesome_ci()
.file_empty()
)
@func()
example(): {
return dag
.awesomeCi()
.fileEmpty()
}
fileNullByteChar() 🔗
Scan files and check if they contain a null-byte character (\x00).
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
path | StringKind | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/awesome-ci@2f1cb7fe110ad3c893ca9cb844b14634593f8b07 call \
file-null-byte-char
func (m *myModule) example() {
return dag.
AwesomeCi().
FileNullByteChar()
}
@function
def example() -> :
return (
dag.awesome_ci()
.file_null_byte_char()
)
@func()
example(): {
return dag
.awesomeCi()
.fileNullByteChar()
}
fileTrailingNewline() 🔗
Scan files and check if they contain a trailing newline.
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
path | StringKind | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/awesome-ci@2f1cb7fe110ad3c893ca9cb844b14634593f8b07 call \
file-trailing-newline
func (m *myModule) example() {
return dag.
AwesomeCi().
FileTrailingNewline()
}
@function
def example() -> :
return (
dag.awesome_ci()
.file_trailing_newline()
)
@func()
example(): {
return dag
.awesomeCi()
.fileTrailingNewline()
}
fileTrailingSingleNewline() 🔗
Scan files and check if they contain exactly one trailing newline.
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
path | StringKind | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/awesome-ci@2f1cb7fe110ad3c893ca9cb844b14634593f8b07 call \
file-trailing-single-newline
func (m *myModule) example() {
return dag.
AwesomeCi().
FileTrailingSingleNewline()
}
@function
def example() -> :
return (
dag.awesome_ci()
.file_trailing_single_newline()
)
@func()
example(): {
return dag
.awesomeCi()
.fileTrailingSingleNewline()
}
fileTrailingSpace() 🔗
Scan files and check if they contain trailing whitespaces.
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
path | StringKind | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/awesome-ci@2f1cb7fe110ad3c893ca9cb844b14634593f8b07 call \
file-trailing-space
func (m *myModule) example() {
return dag.
AwesomeCi().
FileTrailingSpace()
}
@function
def example() -> :
return (
dag.awesome_ci()
.file_trailing_space()
)
@func()
example(): {
return dag
.awesomeCi()
.fileTrailingSpace()
}
fileUtf8() 🔗
Scan files and check if they have a non UTF-8 encoding.
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
path | StringKind | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/awesome-ci@2f1cb7fe110ad3c893ca9cb844b14634593f8b07 call \
file-utf-8
func (m *myModule) example() {
return dag.
AwesomeCi().
FileUtf8()
}
@function
def example() -> :
return (
dag.awesome_ci()
.file_utf8()
)
@func()
example(): {
return dag
.awesomeCi()
.fileUtf8()
}
fileUtf8Bom() 🔗
Scan files and check if they contain BOM (Byte Order Mark): .
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
path | StringKind | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/awesome-ci@2f1cb7fe110ad3c893ca9cb844b14634593f8b07 call \
file-utf-8-bom
func (m *myModule) example() {
return dag.
AwesomeCi().
FileUtf8Bom()
}
@function
def example() -> :
return (
dag.awesome_ci()
.file_utf8_bom()
)
@func()
example(): {
return dag
.awesomeCi()
.fileUtf8Bom()
}