class Terminalwire::Client::Resource::Directory

def create(path:)

def create(path:)
  FileUtils.mkdir_p File.expand_path(path)
rescue Errno::EEXIST
  # Do nothing
end

def delete(path:)

def delete(path:)
  Dir.delete(File.expand_path(path))
end

def exist(path:)

def exist(path:)
  Dir.exist? File.expand_path(path)
end

def list(path:)

def list(path:)
  Dir.glob File.expand_path(path)
end

def permit(command, path:, **)

def permit(command, path:, **)
  @entitlement.paths.permitted? path
end