set-vocab-summary ( string vocab -- )
Factor documentation > Factor handbook > The language > Vocabulary loader > Vocabulary metadata
Prev:vocab-summary ( vocab -- summary )
Next:vocab-authors ( vocab -- authors )


Vocabulary
vocabs.metadata

Inputs and outputs
stringa string or f
vocaba vocabulary specifier


Word description
Stores a one-line string description of the vocabulary to the summary.txt file in the vocabulary's directory.

Definition
USING: arrays kernel ;

IN: vocabs.metadata

: set-vocab-summary ( string vocab -- )
[ 1array ] dip
dup vocab-summary-path set-vocab-file-contents ;