[pve-devel] [PATCH v3 pve-common 11/12] introduce PVE::Filesystem
Fiona Ebner
f.ebner at proxmox.com
Fri Jan 31 13:44:19 CET 2025
Am 09.01.25 um 15:48 schrieb Max Carrara:
> +
> +sub fs_canonicalize : prototype($) {
> + my ($path) = @_;
> +
> + croak "\$path is undef" if !defined($path);
> +
> + my $canonicalized_path = Cwd::abs_path($path);
> +
> + croak "failed to canonicalize path: $!" if !defined($canonicalized_path);
> +
> + return $canonicalized_path;
> +}
> +
Missing the 1; at the end of module
More information about the pve-devel
mailing list