lib/junos-ez/utils/fs.rb
### -------------------------------------------------------------
### 'cleanup?' will return information on files that would be
### removed if cleanup! was executed
### -------------------------------------------------------------

'cleanup?' will return information on files that would be
removed if cleanup. was executed
' cleanup? ' will return information on files that would be removed if cleanup . was executed
def cleanup?
    got = @ndev.rpc.request_system_storage_cleanup( :dry_run => true )
    dryrun_h = {}
    got.xpath('file-list/file').each do |file|
      _cleanup_file_to_h( file, dryrun_h )
    end
    dryrun_h    
  end
def cleanup? got = @ndev . rpc . request_system_storage_cleanup ( :dry_run => true ) dryrun_h = { } got . xpath ( 'file-list/file' ) . each do | file | _cleanup_file_to_h ( file , dryrun_h ) end dryrun_h end
'cleanup?'
' cleanup? '