On 5/3/2015 10:07 PM, J David Eisenberg wrote: > [snip] > > One other question: if I manually add an example, how can I generate an > identifier of the form Example#6a87de that is guaranteed to be different from > all the other example numbers? > The chances of hitting on the same combination is something like 1 in 2,176,782,336 (36^6). The hashes are generated by stripping a UUID4 down to 6 characters, which you can see here: https://github.com/cljsinfo/api-docs-report/blob/4eeca74caf7306bbe921d630380b2dac6bd97abd/resources/report/example-template.html , so while a collision is possible the chances are very low.
-- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
