File: control

package info (click to toggle)
golang-github-stevvooe-resumable 0.0~git20150521.0.51ad441-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 164 kB
  • sloc: asm: 587; makefile: 2
file content (39 lines) | stat: -rw-r--r-- 1,928 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Source: golang-github-stevvooe-resumable
Section: devel
Priority: extra
Maintainer: pkg-go <pkg-go-maintainers@lists.alioth.debian.org>
Uploaders: Tianon Gravi <tianon@debian.org>, Tim Potter <tpot@hpe.com>
Build-Depends: debhelper (>= 9), dh-golang, golang-any
Standards-Version: 3.9.6
Homepage: https://github.com/stevvooe/resumable
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-go/packages/golang-github-stevvooe-resumable.git
Vcs-Git: https://anonscm.debian.org/git/pkg-go/packages/golang-github-stevvooe-resumable.git
XS-Go-Import-Path: github.com/stevvooe/resumable

Package: golang-github-stevvooe-resumable-dev
Architecture: all
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Subset of the Go `crypto` Package with a Resumable Hash Interface
 Package resumable registers resumable versions of hash functions. Resumable
 varieties of hash functions are available via the standard crypto package.
 Support can be checked by type assertion against the resumable.Hash interface.
 .
 While one can use these sub-packages directly, it makes more sense to register
 them using side-effect imports:
 .
   import _ "github.com/stevvooe/resumable/sha256"
 .
 This will make the resumable hashes available to the application through the
 standard crypto package. For example, if a new sha256 is required, one should
 use the following:
 .
   h := crypto.SHA256.New()
 .
 Such a features allows one to control the inclusion of resumable hash support
 in a single file. Applications that require the resumable hash implementation
 can type switch to detect support, while other parts of the application can be
 completely oblivious to the presence of the alternative hash functions.
 .
 Also note that the implementations available in this package are completely
 untouched from their Go counterparts in the standard library. Only an extra
 file is added to each package to implement the extra resumable hash functions.