eject

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package eject는 사용자 위키로 내보낼 규칙 산출물을 만든다. 규칙 명세 문서, 문서 단위 규칙을 판정하는 Python 린터, 훅, 에이전트 계약 문서다. 판정값은 어디까지나 생성 시점의 config 와 lint 의 규칙 목록에서 온다. 이 패키지는 파일을 쓰지 않고 계획만 만든다. 쓰기와 충돌 판정은 커맨드 계층이 한다.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Artifact

type Artifact struct {
	Path    string
	Mode    os.FileMode
	Content string
}

Artifact는 내보내는 파일 하나다. Path 는 위키 루트 기준 슬래시 경로다.

func Plan

func Plan(cfg config.Config) []Artifact

Plan은 위키 설정을 반영해 산출물 전부를 만든다. 같은 설정에 대해 항상 같은 순서로 같은 내용을 낸다. 맵을 순회하는 자리는 전부 정렬한다.

Jump to

Keyboard shortcuts

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