Skip to contents

All functions

backup_file()
Create backup of file
detect_language()
Detect language based on file extension
has_header()
Check if file has a header
is_file()
Check if path is a file
language_get()
Get registered language
language_register()
Register a new language
languages()
List all registered languages
print(<stamp_dir_results>)
Print method for directory results
print(<stamp_file_info>)
Print method for file info
print(<stamp_language>)
Print method for language
print(<stamp_preview>)
Print method for stamp preview
print(<stamp_template>)
Print method for templates
print(<stamp_update_preview>)
Print method for update preview
stamp()
Stamp a file or directory with a header
stamp_dir()
Stamp all files in a directory with a header
stamp_file()
Stamp a single file with a header
stamp_template_content()
Create template content with multiline support
stamp_template_create()
Create a new template
stamp_template_default()
Get default template
stamp_template_describe()
Define template fields
stamp_template_field()
Define individual field
stamp_template_load()
Load template from YAML
stamp_templates()
List available templates
stamp_update()
Update existing file headers
stamp_update_helper_author_add()
Helper for adding authors
stamp_update_helper_copyright_extend()
Helper for extending copyright years
stamp_variables()
Get built-in variables
stamp_variables_add()
Add custom variable
stamp_variables_list()
List all available variables