dokan_windows.go 609 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Rufs - Remote Union File System
  3. *
  4. * Copyright 2017 Matthias Ladkau. All rights reserved.
  5. *
  6. * This Source Code Form is subject to the terms of the MIT
  7. * License, If a copy of the MIT License was not distributed with this
  8. * file, You can obtain one at https://opensource.org/licenses/MIT.
  9. */
  10. package main
  11. import (
  12. "fmt"
  13. "devt.de/krotik/rufs"
  14. )
  15. /*
  16. setupDokanMount mounts Rufs as a DOKAN filesystem.
  17. */
  18. func setupDokanMount(dokanMount *string, tree *rufs.Tree) error {
  19. var err error
  20. // Create a FUSE mount
  21. fmt.Println(fmt.Sprintf("Mounting: %s", *dokanMount))
  22. // TODO ...
  23. return err
  24. }