This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-gitlab
/
gitlab-org--gitlab-foss
Watch
1
Star
0
Fork
You've already forked gitlab-org--gitlab-foss
0
Code
Releases
Activity
def2d5565e
gitlab-org--gitlab-foss
/
lib
/
carrier_wave_string_file.rb
8 lines
111 B
Ruby
Raw
Normal View
History
Unescape
Escape
Enable more frozen string in lib/**/*.rb Enables frozen for the following: * lib/*.rb * lib/banzai/**/*.rb * lib/bitbucket/**/*.rb * lib/constraints/**/*.rb * lib/container_registry/**/*.rb * lib/declarative_policy/**/*.rb Partially addresses #47424.
2018-10-06 19:10:08 -04:00
# frozen_string_literal: true
File upload UI obeys LFS filters Uses Lfs::FileModificationHandler to coordinate LFS detection, creation of LfsObject, etc Caveats: 1. This isn't used by the multi-file editor / Web IDE 2. This isn't used on rename. We'd need to be able to download LFS files and add them to the commit if they no longer match so not as simple. 3. We only check the root .gitattributes file, so this should be improved to correctly check for nested .gitattributes files in subfolders.
2018-01-11 18:12:34 -05:00
class
CarrierWaveStringFile
<
StringIO
def
original_filename
"
"
end
end
Copy permalink