rmvtag

package module
v0.0.0-...-afaa336 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: MIT Imports: 5 Imported by: 1

README

ranger

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRangeFromRegion

func GetRangeFromRegion(source string, rgns ...string) []int

func ValidateAndSortRanges

func ValidateAndSortRanges(r []int, max int) ([][2]int, error)

validateAndSortRanges ensures ranges entered on the command line are sane and usable. basic validation means ensuring even number of integers, start < end, no overlap, start < last line and delivered to callers in ascending order

Types

This section is empty.

Jump to

Keyboard shortcuts

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