Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7cf353b

Browse files
Fix libs download for release and add FS::mounpoint() getter
1 parent 822f252 commit 7cf353b

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

‎.github/scripts/on-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ LIBS_PACKAGE_SRC_URL=`cat $PACKAGE_JSON_TEMPLATE | jq -r ".packages[0].tools[] |
254254

255255
# Download the libs package
256256
echo "Downloading the libs archive ..."
257-
#curl -o "$LIBS_PACKAGE_SRC_ZIP" -LJO --url "$LIBS_PACKAGE_SRC_URL" || exit 1
257+
curl -o "$LIBS_PACKAGE_SRC_ZIP" -LJO --url "$LIBS_PACKAGE_SRC_URL" || exit 1
258258

259259
# Extract the libs package
260260
echo "Extracting the archive ..."

‎libraries/FS/src/FS.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,14 @@ bool FS::rmdir(const String &path)
300300
return rmdir(path.c_str());
301301
}
302302

303+
const char * FS::mountpoint()
304+
{
305+
if (!_impl) {
306+
return NULL;
307+
}
308+
return _impl->mountpoint();
309+
}
310+
303311

304312
void FSImpl::mountpoint(const char * mp)
305313
{

‎libraries/FS/src/FS.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ class FS
110110

111111
bool rmdir(const char *path);
112112
bool rmdir(const String &path);
113+
114+
const char * mountpoint();
113115

114116

115117
protected:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /