Created
December 13, 2011 10:36
-
-
Save xoebus/1471604 to your computer and use it in GitHub Desktop.
FUSE DSL Dreamland
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Filesystem.new "/mount/point" do | |
directory "hello", :perms => [:r, :w] do | |
file "hello.txt" do |path| | |
path # File contains its own path. | |
end | |
directory "goodbye" do | |
handler SSHHandler.new(:username, :password) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment