path

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidFilename

func IsValidFilename(filename string) bool

func SetBBSHomePath

func SetBBSHomePath(filename string) string

func SetBFile

func SetBFile(boardID *ptttype.BoardID_t, filename string) (string, error)

func SetBNFile added in v0.23.3

func SetBNFile(boardID *ptttype.BoardID_t, filename string, idx int) (string, error)

func SetBPath added in v0.11.1

func SetBPath(boardID *ptttype.BoardID_t) string

func SetDIRPath added in v0.14.0

func SetDIRPath(dirFilename string, filename string) string

SetDIRPath

dirFilename: boards/[boardID]/.DIR filename: the filename in [boardID]

func SetHomeFile

func SetHomeFile(userID *ptttype.UserID_t, filename string) (string, error)

func SetHomePath

func SetHomePath(userID *ptttype.UserID_t) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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