REPOSITORY CODING · HARD
Directory-only patterns do not ignore a same-named file, and escaped leading exclamation or hash characters are literals
Directory-only patterns do not ignore a same-named file, and escaped leading exclamation or hash characters are literals. Trace the native model, algorithm services, repository snapshot and HTTP preview. Repair the incident while preserving the other contracts. All explicit fixtures and mandatory regression groups are available with bash test/run.sh.
glob-policyVirtual ignore-pattern workbench
Work through a real codebase.
Choose an environment, investigate the existing implementation and use the tests to check your change. Sign in to open a workspace; execution and Ono usage follow your plan’s allowances.
Task requirements and environments
Java · 85 minute session
- A leading slash anchors a pattern at the virtual root; an unanchored basename pattern may match at any directory depth.
- A whole-component double star followed by slash matches zero or more directories, including the root-level case.
- An ignored parent directory prevents child negation from reopening a path until the parent itself is included.
- Directory-only patterns do not ignore a same-named file, and escaped leading exclamation or hash characters are literals.
- The last matching rule wins, while inverted character classes exclude their listed characters without matching a slash.
- At most forty patterns and forty virtual entries, eight path components and twelve wildcard stars per pattern. Double stars must form whole components. Escaped trailing spaces are literal; ordinary trailing spaces are ignored. The workbench evaluates strings and never reads or changes a filesystem.
Spring Boot · 85 minute session
- A leading slash anchors a pattern at the virtual root; an unanchored basename pattern may match at any directory depth.
- A whole-component double star followed by slash matches zero or more directories, including the root-level case.
- An ignored parent directory prevents child negation from reopening a path until the parent itself is included.
- Directory-only patterns do not ignore a same-named file, and escaped leading exclamation or hash characters are literals.
- The last matching rule wins, while inverted character classes exclude their listed characters without matching a slash.
- At most forty patterns and forty virtual entries, eight path components and twelve wildcard stars per pattern. Double stars must form whole components. Escaped trailing spaces are literal; ordinary trailing spaces are ignored. The workbench evaluates strings and never reads or changes a filesystem.