io

package
v0.0.0-...-9bb7059 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInstallerFile

func CreateInstallerFile(path string) error

CreateInstallerFile creates a file named "INSTALLER" (PEP 627) in the specified path and writes the "fext" name there.

func ExtractPackage

func ExtractPackage(path string) error

func GetMetaDirectories

func GetMetaDirectories() ([]string, error)

GetMetaDirectories goes through the directory with python modules and packages, selects the meta-directories and returns them. Returns an error if the folder could not be read.

func ReadLines

func ReadLines(fileName string) ([]string, error)

ReadLines reads lines from the file and splits them through "\n". Automatically trims all empty spaces

func ReadLinesWithComments

func ReadLinesWithComments(fileName string) ([]string, error)

ReadLinesWithComments reads file using ReadLines, but ignores commented-out lines starting with "#".

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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