figlu

package
v0.0.133 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package figlu provides function to glue files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Path

type Path string

func (*Path) Glue

func (path *Path) Glue(outFile fico.TxtFile, onlyExt string, ignoreScanErr bool) error

Создает файл out-file.ext с содержимым - склеенный контент onlyExt - если не пустая строка - тогда фильтр по расширению, например ".css"

func (*Path) GlueContent

func (path *Path) GlueContent(onlyExt string, ignoreScanErr bool) (string, error)

Возвращает только склеенный контент onlyExt - если не пустая строка - тогда фильтр по расширению, например ".css"

type PathList added in v0.0.29

type PathList []Path

func (*PathList) Glue added in v0.0.29

func (pathList *PathList) Glue(outFile fico.TxtFile, onlyExt string, ignoreScanErr bool) error

Создает файл out-file.ext с содержимым - склеенный контент onlyExt - если не пустая строка - тогда фильтр по расширению, например ".css"

func (*PathList) GlueContent added in v0.0.29

func (pathList *PathList) GlueContent(onlyExt string, ignoreScanErr bool) (string, error)

Возвращает только склеенный контент onlyExt - если не пустая строка - тогда фильтр по расширению, например ".css"

Jump to

Keyboard shortcuts

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