gittest

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2015 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package gittest is a test package for the git middleware. It implements a mock gitos.OS, gitos.Cmd and gitos.File.

Index

Constants

This section is empty.

Variables

View Source
var CmdOutput = "success"

CmdOutput is the output of any call to the mocked gitos.Cmd's Output().

View Source
var FakeOS = fakeOS{}

FakeOS implements a mock gitos.OS, gitos.Cmd and gitos.File.

View Source
var TempFileName = "tempfile"

TempFileName is the name of any file returned by mocked gitos.OS's TempFile().

Functions

func Open

func Open(name string) gitos.File

Open creates a new mock gitos.File.

Types

This section is empty.

Jump to

Keyboard shortcuts

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