sfix

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

README

sfix

import "github.com/coralproject/shelf/internal/xenia/script/sfix"

Overview

Index

Package files

sfix.go

func Add

func Add(db *db.DB, scr script.Script) error

Add inserts a script for testing.

func Get

func Get(fileName string) (script.Script, error)

Get retrieves a set document from the filesystem for testing.

func Remove

func Remove(db *db.DB, pattern string) error

Remove is used to clear out all the test sets from the collection. All test documents must start with STEST in their name.


Generated by godoc2md

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(db *db.DB, scr script.Script) error

Add inserts a script for testing.

func Get

func Get(fileName string) (script.Script, error)

Get retrieves a set document from the filesystem for testing.

func Remove

func Remove(db *db.DB, pattern string) error

Remove is used to clear out all the test sets from the collection. All test documents must start with STEST in their name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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