apm_backup_file_p (private)

 apm_backup_file_p path

Defined in packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl

Returns 1 if $path is a backup file, or 0 if not. We consider it a backup file if any of the following apply:

  • its name begins with #
  • its name is bak
  • its name begins with bak and one or more non-alphanumeric characters
  • its name ends with .old, .bak, or ~

Parameters:
path (required)

Partial Call Graph (max 5 caller/called nodes):
%3 apm_ignore_file_p apm_ignore_file_p (public) apm_backup_file_p apm_backup_file_p apm_ignore_file_p->apm_backup_file_p

Testcases:
No testcase defined.
[ show source ]
Show another procedure: