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
↓ 2 callers
Method
createSpec
()
ent/dbpackage_create.go:382
↓ 2 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/dbpackage_create.go:305
↓ 2 callers
Function
getMemoryStats
(pid int)
utils.go:825
↓ 2 callers
Method
init
()
ent/tx.go:147
↓ 2 callers
Function
initALPM
(root, dbpath string)
utils.go:297
↓ 2 callers
Method
isAvailable
(ctx context.Context, h *alpm.Handle)
proto_package.go:495
↓ 2 callers
Function
migrateSchema
(t TestingT, c *ent.Client, o *options)
ent/enttest/enttest.go:74
↓ 2 callers
Function
newOptions
(opts []Option)
ent/enttest/enttest.go:47
↓ 2 callers
Function
parseFlagSection
(section any, makepkgConf, march string)
utils.go:477
↓ 2 callers
Function
pkgList2MaxMem
(pkgList []*ProtoPackage)
utils.go:145
↓ 2 callers
Method
querySpec
()
ent/dbpackage_query.go:375
↓ 2 callers
Method
repoVersion
()
proto_package.go:399
↓ 2 callers
Function
scanWithInterceptors
(ctx context.Context, rootQuery Q1, selectOrGroup Q2, inters []Interceptor, v any)
ent/ent.go:573
↓ 2 callers
Function
setupChroot
(ctx context.Context)
utils.go:337
↓ 2 callers
Method
sqlQuery
(ctx context.Context)
ent/dbpackage_query.go:415
↓ 2 callers
Function
updateLastUpdated
()
utils.go:112
↓ 1 callers
Method
AddIoIn
AddIoIn adds value to the "io_in" field.
ent/dbpackage_update.go:362
↓ 1 callers
Method
AddIoIn
AddIoIn adds i to the "io_in" field.
ent/mutation.go:1072
↓ 1 callers
Method
AddIoOut
AddIoOut adds value to the "io_out" field.
ent/dbpackage_update.go:389
↓ 1 callers
Method
AddIoOut
AddIoOut adds i to the "io_out" field.
ent/mutation.go:1142
↓ 1 callers
Method
AddMaxRss
AddMaxRss adds value to the "max_rss" field.
ent/dbpackage_update.go:281
↓ 1 callers
Method
AddMaxRss
AddMaxRss adds i to the "max_rss" field.
ent/mutation.go:862
↓ 1 callers
Method
AddSTime
AddSTime adds value to the "s_time" field.
ent/dbpackage_update.go:335
↓ 1 callers
Method
AddSTime
AddSTime adds i to the "s_time" field.
ent/mutation.go:1002
↓ 1 callers
Method
AddUTime
AddUTime adds value to the "u_time" field.
ent/dbpackage_update.go:308
↓ 1 callers
Method
AddUTime
AddUTime adds i to the "u_time" field.
ent/mutation.go:932
↓ 1 callers
Method
AppendPackages
AppendPackages appends value to the "packages" field.
ent/dbpackage_update.go:40
↓ 1 callers
Method
Arch
Arch returns package's Architecture
package.go:50
↓ 1 callers
Method
ClearBuildTimeStart
ClearBuildTimeStart clears the value of the "build_time_start" field.
ent/dbpackage_update.go:160
↓ 1 callers
Method
ClearBuildTimeStart
ClearBuildTimeStart clears the value of the "build_time_start" field.
ent/mutation.go:567
↓ 1 callers
Method
ClearDebugSymbols
ClearDebugSymbols clears the value of the "debug_symbols" field.
ent/dbpackage_update.go:260
↓ 1 callers
Method
ClearDebugSymbols
ClearDebugSymbols clears the value of the "debug_symbols" field.
ent/mutation.go:812
↓ 1 callers
Method
ClearIoIn
ClearIoIn clears the value of the "io_in" field.
ent/dbpackage_update.go:368
↓ 1 callers
Method
ClearIoOut
ClearIoOut clears the value of the "io_out" field.
ent/dbpackage_update.go:395
↓ 1 callers
Method
ClearLastVerified
ClearLastVerified clears the value of the "last_verified" field.
ent/dbpackage_update.go:240
↓ 1 callers
Method
ClearLastVerified
ClearLastVerified clears the value of the "last_verified" field.
ent/mutation.go:763
↓ 1 callers
Method
ClearLastVersionBuild
ClearLastVersionBuild clears the value of the "last_version_build" field.
ent/dbpackage_update.go:220
↓ 1 callers
Method
ClearLto
ClearLto clears the value of the "lto" field.
ent/dbpackage_update.go:200
↓ 1 callers
Method
ClearLto
ClearLto clears the value of the "lto" field.
ent/mutation.go:665
↓ 1 callers
Method
ClearMaxRss
ClearMaxRss clears the value of the "max_rss" field.
ent/dbpackage_update.go:287
↓ 1 callers
Method
ClearPackages
ClearPackages clears the value of the "packages" field.
ent/dbpackage_update.go:46
↓ 1 callers
Method
ClearPackages
ClearPackages clears the value of the "packages" field.
ent/mutation.go:248
↓ 1 callers
Method
ClearRepoVersion
ClearRepoVersion clears the value of the "repo_version" field.
ent/dbpackage_update.go:140
↓ 1 callers
Method
ClearSTime
ClearSTime clears the value of the "s_time" field.
ent/dbpackage_update.go:341
↓ 1 callers
Method
ClearSkipReason
ClearSkipReason clears the value of the "skip_reason" field.
ent/dbpackage_update.go:86
↓ 1 callers
Method
ClearStatus
ClearStatus clears the value of the "status" field.
ent/dbpackage_update.go:66
↓ 1 callers
Method
ClearStatus
ClearStatus clears the value of the "status" field.
ent/mutation.go:299
↓ 1 callers
Method
ClearTagRev
ClearTagRev clears the value of the "tag_rev" field.
ent/dbpackage_update.go:415
↓ 1 callers
Method
ClearUTime
ClearUTime clears the value of the "u_time" field.
ent/dbpackage_update.go:314
↓ 1 callers
Method
ClearUpdated
ClearUpdated clears the value of the "updated" field.
ent/dbpackage_update.go:180
↓ 1 callers
Method
ClearUpdated
ClearUpdated clears the value of the "updated" field.
ent/mutation.go:616
↓ 1 callers
Method
ClearVersion
ClearVersion clears the value of the "version" field.
ent/dbpackage_update.go:120
↓ 1 callers
Method
ClearVersion
ClearVersion clears the value of the "version" field.
ent/mutation.go:469
↓ 1 callers
Method
Create
Create creates all schema resources.
ent/migrate/migrate.go:44
↓ 1 callers
Method
DBPackage
DBPackage returns ent.DBPackage for package
package.go:82
↓ 1 callers
Method
Delete
Delete returns a delete builder for DBPackage.
ent/client.go:266
↓ 1 callers
Method
DeleteOneID
DeleteOneID returns a builder for deleting the given entity by its id.
ent/client.go:277
↓ 1 callers
Method
Exec
Exec executes the query.
ent/dbpackage_update.go:440
↓ 1 callers
Method
Exec
Exec executes the query on the entity.
ent/dbpackage_update.go:1062
↓ 1 callers
Method
Exec
Exec executes the query.
ent/dbpackage_create.go:292
↓ 1 callers
Method
Exec
Exec executes the query.
ent/dbpackage_create.go:546
↓ 1 callers
Method
Exec
Exec executes the deletion query.
ent/dbpackage_delete.go:71
↓ 1 callers
Method
Expand
()
utils.go:672
↓ 1 callers
Method
First
First returns the first DBPackage entity from the query. Returns a *NotFoundError when no DBPackage was found.
ent/dbpackage_query.go:64
↓ 1 callers
Function
FixedError
FixedError is a hook returning a fixed error.
ent/hook/hook.go:145
↓ 1 callers
Method
Float64
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
ent/ent.go:419
↓ 1 callers
Method
GitVersion
(h *alpm.Handle)
proto_package.go:574
↓ 1 callers
Method
GroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum. Example
ent/dbpackage_query.go:275
↓ 1 callers
Method
HasValidSignature
HasValidSignature returns if package has valid detached signature file. Signatures made with a now-expired key (EXPKEYSIG) or with an expired signatur
package.go:61
↓ 1 callers
Method
Interceptors
Interceptors returns the client interceptors.
ent/client.go:313
↓ 1 callers
Method
IsBuilt
()
proto_package.go:796
↓ 1 callers
Function
LtoNotIn
LtoNotIn applies the NotIn predicate on the "lto" field.
ent/dbpackage/where.go:663
↓ 1 callers
Function
NewSchema
NewSchema creates a new schema client.
ent/migrate/migrate.go:41
↓ 1 callers
Function
Not
Not negates a given condition.
ent/hook/hook.go:58
↓ 1 callers
Method
Offset
Offset to start from.
ent/dbpackage_query.go:44
↓ 1 callers
Method
OldBuildTimeStart
OldBuildTimeStart returns the old "build_time_start" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, th
ent/mutation.go:552
↓ 1 callers
Method
OldDebugSymbols
OldDebugSymbols returns the old "debug_symbols" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the obj
ent/mutation.go:797
↓ 1 callers
Method
OldIoIn
OldIoIn returns the old "io_in" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the object is fetched f
ent/mutation.go:1057
↓ 1 callers
Method
OldIoOut
OldIoOut returns the old "io_out" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the object is fetched
ent/mutation.go:1127
↓ 1 callers
Method
OldLastVerified
OldLastVerified returns the old "last_verified" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the obj
ent/mutation.go:748
↓ 1 callers
Method
OldLastVersionBuild
OldLastVersionBuild returns the old "last_version_build" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder
ent/mutation.go:699
↓ 1 callers
Method
OldLto
OldLto returns the old "lto" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the object is fetched from
ent/mutation.go:650
↓ 1 callers
Method
OldMarch
OldMarch returns the old "march" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the object is fetched
ent/mutation.go:418
↓ 1 callers
Method
OldMaxRss
OldMaxRss returns the old "max_rss" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the object is fetch
ent/mutation.go:847
↓ 1 callers
Method
OldPackages
OldPackages returns the old "packages" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the object is fe
ent/mutation.go:220
↓ 1 callers
Method
OldPkgbase
OldPkgbase returns the old "pkgbase" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the object is fetc
ent/mutation.go:183
↓ 1 callers
Method
OldRepoVersion
OldRepoVersion returns the old "repo_version" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the objec
ent/mutation.go:503
↓ 1 callers
Method
OldRepository
OldRepository returns the old "repository" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the object i
ent/mutation.go:382
↓ 1 callers
Method
OldSTime
OldSTime returns the old "s_time" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the object is fetched
ent/mutation.go:987
↓ 1 callers
Method
OldSkipReason
OldSkipReason returns the old "skip_reason" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the object
ent/mutation.go:333
↓ 1 callers
Method
OldStatus
OldStatus returns the old "status" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the object is fetche
ent/mutation.go:284
↓ 1 callers
Method
OldTagRev
OldTagRev returns the old "tag_rev" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the object is fetch
ent/mutation.go:1196
↓ 1 callers
Method
OldUTime
OldUTime returns the old "u_time" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the object is fetched
ent/mutation.go:917
↓ 1 callers
Method
OldUpdated
OldUpdated returns the old "updated" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the object is fetc
ent/mutation.go:601
↓ 1 callers
Method
OldVersion
OldVersion returns the old "version" field's value of the DBPackage entity. If the DBPackage object wasn't provided to the builder, the object is fetc
ent/mutation.go:454
↓ 1 callers
Function
On
On executes the given hook only for the given operation. hook.On(Log, ent.Delete|ent.Create)
ent/hook/hook.go:133
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only DBPackage ID in the query. Returns a *NotSingularError when more than one DBPackage ID is found. Returns a *
ent/dbpackage_query.go:137
↓ 1 callers
Method
Query
Query returns a query builder for DBPackage.
ent/client.go:285
↓ 1 callers
Function
Replace
(arr []T, replace, with T)
utils.go:655
↓ 1 callers
Method
ResetBuildTimeStart
ResetBuildTimeStart resets all changes to the "build_time_start" field.
ent/mutation.go:579
← previous
next →
201–300 of 853, ranked by callers