Module: DokanFS

Defined in:
ext/dokan-ruby-0.1.5.1229/lib/dokanfs.rb

Overview

from fusefs.rb Author: Greg Millam <[email protected]>.

Defined Under Namespace

Classes: DokanDir, MetaDir

Constant Summary collapse

FuseDir =
DokanDir

Class Method Summary collapse

Class Method Details

.mount_under(letter) ⇒ Object



175
176
177
# File 'ext/dokan-ruby-0.1.5.1229/lib/dokanfs.rb', line 175

def DokanFS.mount_under(letter)
  @letter = letter
end

.runObject



179
180
181
# File 'ext/dokan-ruby-0.1.5.1229/lib/dokanfs.rb', line 179

def DokanFS.run
  Dokan.mount(@letter, @proxy)
end

.set_root(root) ⇒ Object



170
171
172
173
# File 'ext/dokan-ruby-0.1.5.1229/lib/dokanfs.rb', line 170

def DokanFS.set_root(root)
  @proxy = DokanProxy.new
  @proxy.set_root(root)
end