file-missing
What it catches
Section titled “What it catches”- A platform’s
rootsentry instarboard.yamlthat does not exist, or is not a directory. - A directory under a root that cannot be listed while looking for screen files (reported on the root).
- A path in a screen’s
filesthat does not exist or is a directory, on a platform where the screen is notproposed.
Files of a proposed screen are not checked, so a screen can name the files
it will have before they are written. Screenshots are checked by
screenshot-missing, and paths that are not valid
by path-invalid.
Why it matters
Section titled “Why it matters”files links each screen to the code that builds it, so a person or an agent
changing a screen can find its source, and reverse coverage can tell which
screen files are accounted for. A path to nothing breaks that link, usually
because the file was moved or renamed. This is a correctness rule: it is
always an error.
How to fix
Section titled “How to fix”Update the path to where the file is now. If the screen is not built on that
platform yet, mark it proposed there; if it no longer exists, remove it.
Example
Section titled “Example”The file was renamed from TimelinView.swift, and the registry still names
the old path:
screens: trip.timeline: title: Timeline area: trip presentation: tab files: ios: [ios/Timeline/TimelinView.swift]screens: trip.timeline: title: Timeline area: trip presentation: tab files: ios: [ios/Timeline/TimelineView.swift]