Macaulay2 » Documentation
Packages » Macaulay2Doc :: rootURI
next | previous | forward | backward | up | index | toc




This string may be concatenated with an absolute path to get one understandable by an external browser. Currently, this makes a difference only under Microsoft Windows with Cygwin, but there it's crucial for those external programs that are not part of Cygwin. Fortunately, programs compiled under Cygwin know were to look for files whose paths start with something like C:/, so it is safe always to concatenate with the value of rootPath, even when it is unknown whether the external program has been compiled under Cygwin.

i1 : fn = temporaryFileName()

o1 = /tmp/M2-28813-0/0
i2 : rootURI | fn

o2 = file:///tmp/M2-28813-0/0

See also

For the programmer

The object rootURI is a string.