pack

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package pack contains the pack action.

This action searches for raw downloaded files in local disk, and collects them into compressed archive files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunOnce

func RunOnce(session *actions.Session, skipCurrentHour bool) error

RunOnce runs the pack action once.

If skipCurrentHour is true, any DFiles created in the current hour will be ignored.

func RunPeriodically

func RunPeriodically(session *actions.Session, packsPerHour int)

RunPeriodically runs the pack action periodically, with the period specified in the second input argument.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL