Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/an0nfunc/ALHP
/ functions
Functions
853 in github.com/an0nfunc/ALHP
⨍
Functions
853
◇
Types & classes
61
↓ 56 callers
Method
SetField
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the f
ent/mutation.go:1427
↓ 48 callers
Method
Name
Name returns package's name
package.go:19
↓ 34 callers
Method
ClearField
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
ent/mutation.go:1725
↓ 33 callers
Method
Update
Update returns a builder for updating this DBPackage. Note that you need to call DBPackage.Unwrap() before calling this method if this DBPackage was r
ent/dbpackage.go:242
↓ 24 callers
Method
SetStatus
SetStatus sets the "status" field.
ent/mutation.go:268
↓ 23 callers
Method
String
String returns a single string from a selector. It is only allowed when selecting one field.
ent/ent.go:325
↓ 19 callers
Method
FieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:1718
↓ 17 callers
Method
Save
Save executes the query and returns the number of nodes affected by the update operation.
ent/dbpackage_update.go:426
↓ 14 callers
Function
Contains
(s any, str string)
utils.go:623
↓ 12 callers
Method
ClearTagRev
ClearTagRev clears the value of the "tag_rev" field.
ent/mutation.go:1211
↓ 12 callers
Method
Debug
Debug returns a new debug-client. It's used to get verbose logging on specific operations. client.Debug(). DBPackage. Query(). Count(ctx)
ent/client.go:161
↓ 12 callers
Method
Error
(...any)
ent/enttest/enttest.go:21
↓ 12 callers
Method
Query
Query calls tx.Query.
ent/tx.go:206
↓ 12 callers
Method
Where
Where appends a list predicates to the DBPackageMutation builder.
ent/mutation.go:1229
↓ 10 callers
Method
AddField
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the
ent/mutation.go:1617
↓ 10 callers
Method
SaveX
SaveX is like Save, but panics if an error occurs.
ent/dbpackage_update.go:431
↓ 10 callers
Function
setContextOp
setContextOp returns a new context with the given QueryContext attached (including its op) in case it does not exist.
ent/ent.go:526
↓ 9 callers
Method
Close
Close is a nop close.
ent/tx.go:190
↓ 9 callers
Method
Exec
Exec calls tx.Exec.
ent/tx.go:201
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:308
↓ 9 callers
Method
SetSkipReason
SetSkipReason sets the "skip_reason" field.
ent/mutation.go:317
↓ 8 callers
Method
DebugSymbols
DebugSymbols returns the value of the "debug_symbols" field in the mutation.
ent/mutation.go:786
↓ 8 callers
Function
IsNotFound
IsNotFound returns a boolean indicating whether the error is a not found error.
ent/ent.go:207
↓ 8 callers
Method
Lto
Lto returns the value of the "lto" field in the mutation.
ent/mutation.go:639
↓ 8 callers
Method
Repository
Repository returns the value of the "repository" field in the mutation.
ent/mutation.go:371
↓ 8 callers
Method
Select
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity. Example: var v []struct
ent/dbpackage_query.go:296
↓ 8 callers
Method
SetTagRev
SetTagRev sets the "tag_rev" field.
ent/mutation.go:1180
↓ 8 callers
Method
Status
Status returns the value of the "status" field in the mutation.
ent/mutation.go:273
↓ 8 callers
Method
Version
Version returns version extracted from package
package.go:44
↓ 8 callers
Function
replaceStringsFromMap
(str string, replace map[string]string)
utils.go:446
↓ 7 callers
Method
String
()
ent/dbpackage/dbpackage.go:173
↓ 6 callers
Method
ClearRepoVersion
ClearRepoVersion clears the value of the "repo_version" field.
ent/mutation.go:518
↓ 6 callers
Method
ClearSkipReason
ClearSkipReason clears the value of the "skip_reason" field.
ent/mutation.go:348
↓ 6 callers
Method
ExecX
ExecX is like Exec, but panics if an error occurs.
ent/dbpackage_update.go:446
↓ 6 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/dbpackage_query.go:38
↓ 6 callers
Function
March
March applies equality check predicate on the "march" field. It's identical to MarchEQ.
ent/dbpackage/where.go:68
↓ 6 callers
Method
SetLto
SetLto sets the "lto" field.
ent/mutation.go:634
↓ 6 callers
Function
checkColumn
checkColumn checks if the column exists in the given table.
ent/ent.go:73
↓ 5 callers
Function
Find
(arr []T, match T)
utils.go:645
↓ 5 callers
Function
Glob
(pattern string)
utils.go:665
↓ 5 callers
Function
NewDBPackageClient
NewDBPackageClient returns a client for the DBPackage from the given config.
ent/client.go:205
↓ 5 callers
Function
Pkgbase
Pkgbase applies equality check predicate on the "pkgbase" field. It's identical to PkgbaseEQ.
ent/dbpackage/where.go:58
↓ 5 callers
Method
genSrcinfo
()
proto_package.go:655
↓ 5 callers
Function
newDBPackageMutation
newDBPackageMutation creates new mutation for the DBPackage entity.
ent/mutation.go:74
↓ 4 callers
Method
All
All executes the query and returns a list of DBPackages.
ent/dbpackage_query.go:163
↓ 4 callers
Method
BuildTimeStart
BuildTimeStart returns the value of the "build_time_start" field in the mutation.
ent/mutation.go:541
↓ 4 callers
Method
Create
Create returns a builder for creating a DBPackage entity.
ent/client.go:222
↓ 4 callers
Method
Fields
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call
ent/mutation.go:1261
↓ 4 callers
Method
Get
Get returns a DBPackage entity by its id.
ent/client.go:294
↓ 4 callers
Method
IoIn
IoIn returns the value of the "io_in" field in the mutation.
ent/mutation.go:1046
↓ 4 callers
Method
IoOut
IoOut returns the value of the "io_out" field in the mutation.
ent/mutation.go:1116
↓ 4 callers
Method
LastVerified
LastVerified returns the value of the "last_verified" field in the mutation.
ent/mutation.go:737
↓ 4 callers
Method
LastVersionBuild
LastVersionBuild returns the value of the "last_version_build" field in the mutation.
ent/mutation.go:688
↓ 4 callers
Method
March
March returns the value of the "march" field in the mutation.
ent/mutation.go:407
↓ 4 callers
Function
MatchGlobList
(target string, globs []string)
utils.go:708
↓ 4 callers
Method
MaxRss
MaxRss returns the value of the "max_rss" field in the mutation.
ent/mutation.go:836
↓ 4 callers
Method
Only
Only returns a single DBPackage entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one DBPackage enti
ent/dbpackage_query.go:110
↓ 4 callers
Method
Packages
Packages returns the value of the "packages" field in the mutation.
ent/mutation.go:209
↓ 4 callers
Method
Pkgbase
Pkgbase returns the value of the "pkgbase" field in the mutation.
ent/mutation.go:172
↓ 4 callers
Method
RepoVersion
RepoVersion returns the value of the "repo_version" field in the mutation.
ent/mutation.go:492
↓ 4 callers
Method
STime
STime returns the value of the "s_time" field in the mutation.
ent/mutation.go:976
↓ 4 callers
Method
SetVersion
SetVersion sets the "version" field.
ent/mutation.go:438
↓ 4 callers
Method
SkipReason
SkipReason returns the value of the "skip_reason" field in the mutation.
ent/mutation.go:322
↓ 4 callers
Method
TagRev
TagRev returns the value of the "tag_rev" field in the mutation.
ent/mutation.go:1185
↓ 4 callers
Method
Type
Type returns the node type of this mutation (DBPackage).
ent/mutation.go:1254
↓ 4 callers
Method
UTime
UTime returns the value of the "u_time" field in the mutation.
ent/mutation.go:906
↓ 4 callers
Method
Updated
Updated returns the value of the "updated" field in the mutation.
ent/mutation.go:590
↓ 4 callers
Method
Version
Version returns the value of the "version" field in the mutation.
ent/mutation.go:443
↓ 4 callers
Function
parseState
(state string)
utils.go:599
↓ 4 callers
Method
prepareQuery
(ctx context.Context)
ent/dbpackage_query.go:309
↓ 4 callers
Function
withHooks
withHooks invokes the builder operation with the given hooks, if any.
ent/ent.go:492
↓ 3 callers
Method
AddedIoIn
AddedIoIn returns the value that was added to the "io_in" field in this mutation.
ent/mutation.go:1081
↓ 3 callers
Method
AddedIoOut
AddedIoOut returns the value that was added to the "io_out" field in this mutation.
ent/mutation.go:1151
↓ 3 callers
Method
AddedMaxRss
AddedMaxRss returns the value that was added to the "max_rss" field in this mutation.
ent/mutation.go:871
↓ 3 callers
Method
AddedSTime
AddedSTime returns the value that was added to the "s_time" field in this mutation.
ent/mutation.go:1011
↓ 3 callers
Method
AddedUTime
AddedUTime returns the value that was added to the "u_time" field in this mutation.
ent/mutation.go:941
↓ 3 callers
Method
Append
Append extends a chain, adding the specified hook as the last ones in the mutation flow.
ent/hook/hook.go:188
↓ 3 callers
Function
Copy
(srcPath, dstPath string)
utils.go:722
↓ 3 callers
Function
Create
Create creates all table resources using the given schema driver.
ent/migrate/migrate.go:49
↓ 3 callers
Function
DebugSymbolsValidator
DebugSymbolsValidator is a validator for the "debug_symbols" field enum values. It is called by the builders before save.
ent/dbpackage/dbpackage.go:205
↓ 3 callers
Method
Exist
Exist returns true if the query has elements in the graph.
ent/dbpackage_query.go:221
↓ 3 callers
Method
FailNow
()
ent/enttest/enttest.go:20
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of DBPackage IDs.
ent/dbpackage_query.go:182
↓ 3 callers
Function
LtoValidator
LtoValidator is a validator for the "lto" field enum values. It is called by the builders before save.
ent/dbpackage/dbpackage.go:178
↓ 3 callers
Method
MArch
MArch returns package's march
package.go:25
↓ 3 callers
Method
Mutate
Mutate implements the ent.Mutator interface.
ent/client.go:190
↓ 3 callers
Function
NewClient
NewClient creates a new client configured with the given options.
ent/client.go:30
↓ 3 callers
Method
Op
Op returns the operation name.
ent/mutation.go:1244
↓ 3 callers
Function
RepositoryValidator
RepositoryValidator is a validator for the "repository" field enum values. It is called by the builders before save.
ent/dbpackage/dbpackage.go:150
↓ 3 callers
Method
ResetIoIn
ResetIoIn resets all changes to the "io_in" field.
ent/mutation.go:1103
↓ 3 callers
Method
ResetIoOut
ResetIoOut resets all changes to the "io_out" field.
ent/mutation.go:1173
↓ 3 callers
Method
ResetMaxRss
ResetMaxRss resets all changes to the "max_rss" field.
ent/mutation.go:893
↓ 3 callers
Method
ResetSTime
ResetSTime resets all changes to the "s_time" field.
ent/mutation.go:1033
↓ 3 callers
Method
ResetUTime
ResetUTime resets all changes to the "u_time" field.
ent/mutation.go:963
↓ 3 callers
Method
SetBuildTimeStart
SetBuildTimeStart sets the "build_time_start" field.
ent/mutation.go:536
↓ 3 callers
Method
SetDebugSymbols
SetDebugSymbols sets the "debug_symbols" field.
ent/mutation.go:781
↓ 3 callers
Method
SetLastVerified
SetLastVerified sets the "last_verified" field.
ent/mutation.go:732
↓ 3 callers
Method
SetLastVersionBuild
SetLastVersionBuild sets the "last_version_build" field.
ent/mutation.go:683
↓ 3 callers
Method
SetPackages
SetPackages sets the "packages" field.
ent/mutation.go:203
↓ 3 callers
Method
SetRepoVersion
SetRepoVersion sets the "repo_version" field.
ent/mutation.go:487
next →
1–100 of 853, ranked by callers