Websites/app/logical/storage_manager/null.rb
Donovan Daniels f84eef5e5f
Add git storage manager
Yes, I'm aware this is dumb
No, I don't care
2024-06-29 02:13:04 -05:00

30 lines
338 B
Ruby

# frozen_string_literal: true
module StorageManager
class Null
def delete(_path)
# noop
end
def exists?(_path)
false
end
def get(_path)
nil
end
def put(_path, _io)
# noop
end
def upload(_path, _body)
nil
end
def url_for(_entry)
nil
end
end
end