file

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 6 Imported by: 32

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientOriginalExtension added in v1.5.0

func ClientOriginalExtension(file string) string

func Contain added in v1.2.3

func Contain(file string, search string) bool

func Create

func Create(file string, content string)

func Exists added in v1.5.0

func Exists(file string) bool

func Extension added in v1.5.0

func Extension(file string, originalWhenUnknown ...bool) (string, error)

Extension Supported types: https://github.com/h2non/filetype#supported-types

func Remove

func Remove(file string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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