Documentation ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stats ¶
type Stats struct { BasePath string // Path to file downloads directory with UUID as filenames. Count int // Database table row index. Missing int // Missing UUID as files count. Total int // Total rows in the database table. Columns []string // Column names of the database table. Values *[]sql.RawBytes // Values of the rows in the database. // contains filtered or unexported fields }
Stats contain the statistics of the archive scan.
func (*Stats) Summary ¶
func (s *Stats) Summary()
Summary prints the number of archive scanned.
Example ¶
package main import ( "github.com/Defacto2/df2/pkg/zipcontent/internal/scan" ) func main() { s := scan.Init() s.Summary() }
Output: nothing to do ─────────────────────────────────────────────────── Total archives scanned: 0, time elapsed 0.0 seconds
Click to show internal directories.
Click to hide internal directories.