timelock

package
v0.0.0-...-28bdf3b Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2015 License: MIT Imports: 11 Imported by: 3

Documentation

Overview

Package timelock implements a time based cache for dependencies

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear() (cleared bool)

Clear clears the cache, returns true if the cache was cleared

func IsStale

func IsStale(d *dep.Dependency) (stale bool)

IsStale returns true if the cached dependency is older than timeoutHours

func Read

func Read()

Read reads the cache from disk

func Write

func Write()

Write writes the cache out to disk

Types

This section is empty.

Jump to

Keyboard shortcuts

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