Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilePartsInfo ¶
func GetFilePartsInfo ¶
func GetFilePartsInfo(file string) *FilePartsInfo
func (*FilePartsInfo) NewExt ¶
func (fpi *FilePartsInfo) NewExt(ext string) string
Return new filename with new extension was: /some/path/file.ext will: /some/path/file.<newext>
func (*FilePartsInfo) Prefix ¶
func (fpi *FilePartsInfo) Prefix(prefix string) string
Return new filename with Prefix was: /some/path/file.ext will: /some/path/<prefix>file.ext --------------------------------- prefix: "demo-" will: /some/path/demo-file.ext
func (*FilePartsInfo) PrefixWithNewExt ¶
func (fpi *FilePartsInfo) PrefixWithNewExt(prefix, ext string) string
Return new filename with new extension and prefix was: /some/path/file.ext will: /some/path/<prefix>file.<newext>
Click to show internal directories.
Click to hide internal directories.