config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// PictureDirPath: 写真の保存先のパス
	PictureDirPath string
	// VRCLogDirPath: VRChatのログディレクトリのパス
	VRCLogDirPath string
	// contains filtered or unexported fields
}

func New

func New(appName string) (*Config, error)

New: 作成

func (*Config) CheckDirectoriesExist

func (c *Config) CheckDirectoriesExist() (bool, bool)

CheckDirectoriesExist: 設定されたディレクトリが存在するか確認する

func (*Config) Save

func (c *Config) Save() error

Save: 設定を保存する

func (*Config) SetRootDirPath

func (c *Config) SetRootDirPath(path string) error

SetRootDirPath: 監視対象のルートディレクトリのパスを設定

func (*Config) SetVRCLogDirPath

func (c *Config) SetVRCLogDirPath(path string) error

SetVRCLogDirPath: VRChatのログディレクトリのパスを設定

Jump to

Keyboard shortcuts

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