Key | Value |
---|---|
MD5 | 19D6739560DBA1194460E3F431906E4F |
PackageArch | noarch |
PackageDescription | Errwrap is a package for Go that formalizes the pattern of wrapping errors and checking if an error contains another error. There is a common pattern in Go of taking a returned error value and then wrapping it (such as with fmt.Errorf) before returning it. The problem with this pattern is that you completely lose the original error structure. Arguably the correct approach is that you should make a custom structure implementing the error interface, and have the original error as a field on that structure, such as this example. This is a good approach, but you have to know the entire chain of possible rewrapping that happens, when you might just care about one. Errwrap formalizes this pattern (it doesn't matter what approach you use above) by giving a single interface for wrapping errors, checking if a specific error is wrapped, and extracting that error. This package contains the source code needed for building packages that reference the following Go import paths: – github.com/hashicorp/errwrap |
PackageMaintainer | umeabot <umeabot> |
PackageName | golang-github-hashicorp-errwrap-devel |
PackageRelease | 2.mga9 |
PackageVersion | 1.1.0 |
SHA-1 | 8669FF5CECF58569CCBE135EC8932D3DAA209090 |
SHA-256 | 3028854DC2A27CFA18108BE8B60EE8BA05319DD28A13930B5A830BF9749525BA |
hashlookup:children-total | 6 |
hashlookup:trust | 50 |
The searched file hash includes 6 children files known and seen by metalookup. A sample is included below:
Key | Value |
---|---|
FileName | ./usr/share/gocode/src/github.com/containerd/containerd/vendor/github.com/hashicorp/errwrap/go.mod |
FileSize | 36 |
MD5 | CD8756148DA608BC9474B3DB1F826E39 |
SHA-1 | 0D2DB37B7C4A3D1FA9C62484E85520CBEC3C3958 |
SHA-256 | 93985E11AF40E6301F25D7F83CC4032D2D6D22F338AEE277471A89364C700B29 |
SHA-512 | 2B68CA06311D8602F04EB738A68A24951A9187AA70018D938E549CF7B555BF54DADBDA5825501436C52F6103BCD220ED170C99E4CF777187E2B997C87F05FB0D |
SSDEEP | 3:3BAd9EvK7X+:xAQvKy |
TLSH | |
insert-timestamp | 1659226698.285945 |
mimetype | text/plain |
source | snap:mdTwaNga8m8NrBqqSH4FVIbtUwLWAhWj_15 |
Key | Value |
---|---|
FileName | ./usr/share/gocode/src/github.com/xlab/treeprint/.goipath |
FileSize | 46 |
MD5 | B52B0156B99DC5D76041D4312132982F |
SHA-1 | A2BAED1E8139EF822A772D9679B2CE54813E6C07 |
SHA-256 | 78FD085ED203C955290ED929762AC135D1117315E1AE37040E914FEC4538EFE2 |
SSDEEP | 3:WmhIbIVGey4zAGIV4n:WmebO5y4zJIV4n |
TLSH |
Key | Value |
---|---|
FileName | ./usr/share/gocode/src/github.com/containerd/containerd/vendor/github.com/hashicorp/errwrap/README.md |
FileSize | 2484 |
MD5 | 1355E7895FDFCBC8E5E900B26CC608C6 |
SHA-1 | 7B3D223ED9FD513DFCE01DF3CDCA018898330F8E |
SHA-256 | FEFAD74C2856C073E219483B00FC553BAA50021D2530D01291CCFF58EFAC30E4 |
SHA-512 | 46136D1D146BF69072ECAFE6E97CDB018A2502ECF602036D4EFB200F48AFA6B17C44BF1ED6DEE2780E18B7E0104031432CD22B4297705FD0C60A994EE99D8C84 |
SSDEEP | 48:4p+PXd5RTmLsjj0kr4QVbh2rr+Nad6uAu4XsiOmruOt8:4psTTmLsj3dhcr+5fsiOmft8 |
TLSH | T1075183CBE3F027A78922111C052A619C2354ECF05735866D68A890FE66879B8C9727CE |
insert-timestamp | 1659226698.2565 |
mimetype | text/x-c |
source | snap:mdTwaNga8m8NrBqqSH4FVIbtUwLWAhWj_15 |
Key | Value |
---|---|
FileName | ./usr/share/go/1.21/contrib/src/github.com/containerd/containerd/vendor/github.com/hashicorp/errwrap/errwrap.go |
FileSize | 4539 |
MD5 | 0A2AFBE54776F0B18CE099E4A6954FC6 |
SHA-1 | 23148F2B7835EC79925357097700A27E53F2F5CC |
SHA-256 | 6EC72F14C89F1ABAEA5EA85ACDFAD16C93A50BE653CA176561C2C23C7509C145 |
SSDEEP | 96:yUqdm2W8KgsfZ4Yr7c8L7rwjTaw66wu8Rzo6p4qh4TjHSY:yU0rW8KjfZ467p7UjhCRmw4/HSY |
TLSH | T1C69145A37B79937701312039520E11B9E7A4D8348734FAB9D0CA90BF32994BD9E34BD6 |
Key | Value |
---|---|
FileName | ./usr/share/gocode/src/github.com/hashicorp/errwrap/errwrap_test.go |
FileSize | 1821 |
MD5 | A1B68809CCB30796BAD1C48B1F9E1247 |
SHA-1 | C60B373E6A4A8EE380CACDAEAB6AA21E8DB86DD0 |
SHA-256 | 3B68A2E1F6EA769A143E3128EA6B312AE7CB8D4BAE06DF539FAED7AE00E3D519 |
SSDEEP | 48:Gly8CbVVybG+GWztdO8Q5eUnYgbVg/f04IvdO8W05K+PA:GlQHqjZWteUnfS/f0k2KWA |
TLSH | T15831C216DFAE08EBA36D342446DD5AD9031CC073FFD098EAD20652D7680D57DDB14768 |
Key | Value |
---|---|
CRC32 | B880E054 |
FileName | ./usr/share/licenses/singularity/dhcp4client-LICENSE |
FileSize | 15977 |
MD5 | B278A92D2C1509760384428817710378 |
OpSystemCode | 362 |
ProductCode | 163709 |
RDS:package_id | 182052 |
SHA-1 | 523489384296F403DA31EDF8EDF6F9023D328517 |
SHA-256 | BEF1747EDA88B9ED46E94830B0D978C3499DAD5DFE38D364971760881901DADD |
SHA-512 | 37FDB897C4C68474684E72CF411336580976233D1E4563775D76C9AE45EE81E8896ABB7A25FFB75784B49F0FC3B8532142DA74E42038A59CF0E544B530B8D752 |
SSDEEP | 384:dim2158yEE5upk+IxevP07tqdsfJFYr9yhASg3:d05eErtzfJFY7Sg3 |
SpecialCode | |
TLSH | T1D67242BF7B4813730AC201666F4764DBE31AA03E66691075719C81282FDB97843FB6ED |
db | nsrl_modern_rds |
insert-timestamp | 1728210832.9644856 |
mimetype | text/plain |
source | snap:f6rE7kIZIe7ZypsQE4xkBst7yLGKQ11A_324 |
tar:gname | root |
tar:uname | root |