util

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: MIT Imports: 8 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InsideGUI = func() bool { return false }
)

Functions

func ApiEndpoint

func ApiEndpoint(ipfsDir string) (string, error)

ApiEndpoint reads the api file from the local ipfs install directory and returns the address:port read from the file. If the ipfs directory is not specified then the default location is used.

func BeforeVersion

func BeforeVersion(check, cur string) bool

func CopyTo

func CopyTo(src, dest string) error

[2018.06.06] This function is needed because os.Rename doesn't work across filesystem boundaries.

func Move

func Move(src, dest string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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