From ac09c8515846ce142d7264be653efd845f2008e0 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 14 Apr 2019 01:36:56 -0400 Subject: dir_is_empty(): Prefix with "_" --- diff --git a/src/dir.sh b/src/dir.sh index 1877568..35cdcd9 100644 --- a/src/dir.sh +++ b/src/dir.sh @@ -40,7 +40,7 @@ hash_name() return 0 } -dir_is_empty() +_dir_is_empty() { local dir="${1}" shift 1 @@ -70,7 +70,7 @@ try_rmdir() local dir="${1}" shift 1 - if ! dir_is_empty "${dir}"; then + if ! _dir_is_empty "${dir}"; then return 1 fi if ! rmdir -- "${dir}"; then -- cgit v0.9.1