internal

package
v4.1.6 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: AGPL-3.0, AGPL-3.0-or-later Imports: 2 Imported by: 0

Documentation

Overview

Package internal provides additional utility functions that are needed in elPrep.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolHash

func BoolHash(b bool) uint64

BoolHash returns a hash value for the given boolean value.

func Directory

func Directory(file string) (directory string, files []string, err error)

Directory returns a slice of filenames. If the given filename refers to a directory, return a slice of names of files that are in this directory. If the given filename does not refer to a directory, return a slice with this filename as the only entry.

func StringHash

func StringHash(s string) (hash uint64)

StringHash returns a hash value for the given string value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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