lektor-website/content/docs/api/build/artifact/is-current/contents.lr

13 lines
366 B
Plaintext
Raw Normal View History

2015-12-19 14:52:17 +01:00
title: is_current
---
summary: Indicates if the artifact is up to date or needs building.
---
type: property
---
body:
This property on an artifact returns `True` if building is necessary or
`False` if not based on the state of all dependencies. When you are using
the sub-artifact system, the builder callback will only be invoked if the
artifact is not current.