src/Pure/System/cygwin.scala
changeset 52680 c16f35e5a5aa
parent 52662 c7cae5ce217d
parent 52679 24e02408feed
child 52681 8cc7f76b827a
child 52682 77146b576ac7
--- a/src/Pure/System/cygwin.scala	Tue Jul 16 15:59:55 2013 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-/*  Title:      Pure/System/cygwin.scala
-    Author:     Makarius
-
-Support for Cygwin.
-*/
-
-package isabelle
-
-
-import java.io.{File => JFile}
-import java.nio.file.{Paths, Files}
-
-
-object Cygwin
-{
-  /* symlinks */
-
-  def write_symlink(file: JFile, content: String)
-  {
-    require(Platform.is_windows)
-
-    val path = file.toPath
-
-    val writer = Files.newBufferedWriter(path, UTF8.charset)
-    try { writer.write("!<symlink>" + content + "\0") }
-    finally { writer.close }
-
-    Files.setAttribute(path, "dos:system", true)
-  }
-}
-