Skip to content

Commit d5b888f

Browse files
committed
chore: remove deprecated raw2jpg()
1 parent 1a714e6 commit d5b888f

File tree

2 files changed

+19
-28
lines changed

2 files changed

+19
-28
lines changed

README.adoc

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -114,25 +114,24 @@ The public functions are, in alphabetical order:
114114
{url-base}#L553[`pdf2png`],
115115
{url-base}#L572[`prettytable`],
116116
{url-base}#L598[`prettyuptime`],
117-
{url-base}#L622[`raw2jpg`],
118-
{url-base}#L629[`realdir`],
119-
{url-base}#L638[`realpath`],
120-
{url-base}#L651[`semver`],
121-
{url-base}#L669[`should_continue`],
122-
{url-base}#L725[`timestamp`],
123-
{url-base}#L745[`tolog`],
124-
{url-base}#L751[`tologe`],
125-
{url-base}#L758[`tolower`],
126-
{url-base}#L776[`totsout`],
127-
{url-base}#L782[`tsout`],
128-
{url-base}#L790[`url_exists`],
129-
{url-base}#L814[`user_exists`],
130-
{url-base}#L830[`validate_cmd`],
131-
{url-base}#L837[`validate_var`],
132-
{url-base}#L844[`var_exists`],
133-
{url-base}#L866[`ver_ge`],
134-
{url-base}#L874[`vid2aud`],
135-
{url-base}#L888[`ytda`].
117+
{url-base}#L621[`realdir`],
118+
{url-base}#L630[`realpath`],
119+
{url-base}#L643[`semver`],
120+
{url-base}#L661[`should_continue`],
121+
{url-base}#L717[`timestamp`],
122+
{url-base}#L737[`tolog`],
123+
{url-base}#L743[`tologe`],
124+
{url-base}#L750[`tolower`],
125+
{url-base}#L768[`totsout`],
126+
{url-base}#L774[`tsout`],
127+
{url-base}#L782[`url_exists`],
128+
{url-base}#L806[`user_exists`],
129+
{url-base}#L822[`validate_cmd`],
130+
{url-base}#L829[`validate_var`],
131+
{url-base}#L836[`var_exists`],
132+
{url-base}#L858[`ver_ge`],
133+
{url-base}#L866[`vid2aud`],
134+
{url-base}#L880[`ytda`].
136135

137136
Global variables have `BASE_` prefix and clients could use them.
138137
Clients should place temporary files under `$BASE_WIP`.

lib/base.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ BASE_RC_CON_NO=14
4646
BASE_RC_CON_TO=13
4747
BASE_RC_DIE_NO=10
4848
BASE_SHOULD_CON=false
49-
BASE_VERSION=0.9.20251010
49+
BASE_VERSION=0.9.20251027
5050

5151
# Removes any file besides mp3, m4a, flac in the current directory.
5252
# Removes empty directories.
@@ -617,14 +617,6 @@ prettyuptime() {
617617
' | tr -d \\n
618618
}
619619

620-
# This function is deprecated. It exists as a wrapper for backward
621-
# compatibility and will be removed soon.
622-
raw2jpg() {
623-
logw raw2jpg is deprecated, please use dng2jpg or heic2jpg instead.
624-
dng2jpg
625-
heic2jpg
626-
}
627-
628620
# Returns the absolute directory of a file. See the description of realpath.
629621
realdir() {
630622
local dir str="$1"

0 commit comments

Comments
 (0)