All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.sciss.asyncfile.DesktopFileSystemProvider.scala Maven / Gradle / Ivy

The newest version!
/*
 *  DesktopFileSystemProvider.scala
 *  (AsyncFile)
 *
 *  Copyright (c) 2020-2021 Hanns Holger Rutz. All rights reserved.
 *
 *  This software is published under the GNU Affero General Public License v3+
 *
 *
 *  For further information, please contact Hanns Holger Rutz at
 *  [email protected]
 */

package de.sciss.asyncfile

import scala.concurrent.{ExecutionContext, Future}

object DesktopFileSystemProvider extends AsyncFileSystemProvider {
  final val scheme  = "file"
  final val name    = "Desktop File System"

  def obtain()(implicit executionContext: ExecutionContext): Future[AsyncFileSystem] = {
    val fs = new DesktopFileSystem()
    Future.successful(fs)
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy