utils

package
v2.7.4 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package utils provides functions that are considered utility for being project independent

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(filePath string) bool

FileExists returns whether a file exists or not

func GetEolChar

func GetEolChar(endOfLine string) string

GetEolChar returns the end of line character used in regexp depending on the end_of_line parameter

func IsDirectory

func IsDirectory(filePath string) bool

IsDirectory returns whether a file is a directory or not

func IsRegularFile

func IsRegularFile(filePath string) bool

IsRegularFile returns whether a file is a regular file or not

Types

This section is empty.

Jump to

Keyboard shortcuts

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