src/Pure/Thy/sessions.scala
changeset 65278 b553d0edc440
parent 65269 2947837b9f04
child 65281 c70e7d24a16d
equal deleted inserted replaced
65277:e9f9f962828d 65278:b553d0edc440
   513 
   513 
   514 
   514 
   515 
   515 
   516   /** persistent store **/
   516   /** persistent store **/
   517 
   517 
   518   def log(name: String): Path = Path.basic("log") + Path.basic(name)
       
   519   def log_gz(name: String): Path = log(name).ext("gz")
       
   520 
       
   521   def store(system_mode: Boolean = false): Store = new Store(system_mode)
   518   def store(system_mode: Boolean = false): Store = new Store(system_mode)
   522 
   519 
   523   class Store private[Sessions](system_mode: Boolean)
   520   class Store private[Sessions](system_mode: Boolean)
   524   {
   521   {
       
   522     /* file names */
       
   523 
       
   524     def log(name: String): Path = Path.basic("log") + Path.basic(name)
       
   525     def log_gz(name: String): Path = log(name).ext("gz")
       
   526 
       
   527 
   525     /* output */
   528     /* output */
   526 
   529 
   527     val browser_info: Path =
   530     val browser_info: Path =
   528       if (system_mode) Path.explode("~~/browser_info")
   531       if (system_mode) Path.explode("~~/browser_info")
   529       else Path.explode("$ISABELLE_BROWSER_INFO")
   532       else Path.explode("$ISABELLE_BROWSER_INFO")