Method: SourceFinder::SourceFileGlobber#emacs_lockfile?

Defined in:
lib/source_finder/source_file_globber.rb

#emacs_lockfile?(filename) ⇒ Boolean

Returns:

  • (Boolean)


109
110
111
# File 'lib/source_finder/source_file_globber.rb', line 109

def emacs_lockfile?(filename)
  File.basename(filename) =~ /^\.#/
end