Skip to content

Instantly share code, notes, and snippets.

@xoebus
Created December 13, 2011 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xoebus/1471604 to your computer and use it in GitHub Desktop.
Save xoebus/1471604 to your computer and use it in GitHub Desktop.
FUSE DSL Dreamland
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