You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reject CLI output paths that collide with inputs or another output #79
With a small OBJ containing one triangle, ioviewer one.obj -o review.html --json ./review.html exits 0, reports both exports, and leaves a file containing viewer JSON instead of HTML. With a disposable copy of the same OBJ, ioviewer one-copy.obj -o one-copy.obj exits 0 and replaces the source with HTML.
Reject collisions between either output and any input (<input>, --add or --bcf), and between both outputs, before writing anything. Cover relative/absolute spellings and supported link aliases; assert non-zero exit and byte-for-byte preservation of an existing source or destination. Keep normal replacement of a distinct output working.
Activity