src/Pure/PIDE/resources.scala
changeset 67060 9ad7bf553ee1
parent 67059 df7d728103f1
child 67104 a2fa0c6a7aff
--- a/src/Pure/PIDE/resources.scala	Sun Nov 12 19:46:19 2017 +0100
+++ b/src/Pure/PIDE/resources.scala	Sun Nov 12 19:47:18 2017 +0100
@@ -19,25 +19,8 @@
 {
   resources =>
 
-
-  /* theory files */
-
   def thy_path(path: Path): Path = path.ext("thy")
 
-  def thy_node_name(qualifier: String, file: JFile, bootstrap: Boolean = false)
-    : Document.Node.Name =
-  {
-    session_base.known.get_file(file, bootstrap) getOrElse {
-      val node = file.getPath
-      theory_name(qualifier, Thy_Header.theory_name(node)) match {
-        case (true, theory) => Document.Node.Name.loaded_theory(theory)
-        case (false, theory) =>
-          val master_dir = if (theory == "") "" else file.getParent
-          Document.Node.Name(node, master_dir, theory)
-      }
-    }
-  }
-
 
   /* file-system operations */