dirsyncer

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirNode

type DirNode struct {
	Path     string     // ディレクトリパス
	IndexMD  string     // index.mdのパス(存在する場合)
	Files    []string   // その他の.mdファイル
	Children []*DirNode // サブディレクトリ
}

DirNode ディレクトリツリーノード

type DirSyncer

type DirSyncer struct {
	// contains filtered or unexported fields
}

DirSyncer ディレクトリ同期器

func NewDirSyncer

func NewDirSyncer(config *SyncConfig) *DirSyncer

NewDirSyncer 新しいDirSyncerを作成

func (*DirSyncer) SyncDirectory

func (ds *DirSyncer) SyncDirectory(ctx context.Context, dirPath string) error

SyncDirectory ディレクトリを同期

type SyncConfig

type SyncConfig struct {
	APIKey       string
	ParentPageID string
	Verbose      bool
	DryRun       bool
}

SyncConfig ディレクトリ同期設定

Jump to

Keyboard shortcuts

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