Method: FileUtils.safe_unlink

Defined in:
lib/fileutils.rb

Equivalent to:

FileUtils.rm(list, force: true, **kwargs)

Argument list (a single path or an array of paths) should be interpretable as paths.

See FileUtils.rm for keyword arguments.

Related: methods for deleting.



1247
1248
1249
# File 'lib/fileutils.rb', line 1247

def rm_f(list, noop: nil, verbose: nil)
  rm list, force: true, noop: noop, verbose: verbose
end