Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
7cf353bd
Commit
7cf353bd
authored
Oct 06, 2023
by
me-no-dev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix libs download for release and add FS::mounpoint() getter
parent
822f252b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
.github/scripts/on-release.sh
.github/scripts/on-release.sh
+1
-1
libraries/FS/src/FS.cpp
libraries/FS/src/FS.cpp
+8
-0
libraries/FS/src/FS.h
libraries/FS/src/FS.h
+2
-0
No files found.
.github/scripts/on-release.sh
View file @
7cf353bd
...
...
@@ -254,7 +254,7 @@ LIBS_PACKAGE_SRC_URL=`cat $PACKAGE_JSON_TEMPLATE | jq -r ".packages[0].tools[] |
# Download the libs package
echo
"Downloading the libs archive ..."
#
curl -o "$LIBS_PACKAGE_SRC_ZIP" -LJO --url "$LIBS_PACKAGE_SRC_URL" || exit 1
curl
-o
"
$LIBS_PACKAGE_SRC_ZIP
"
-LJO
--url
"
$LIBS_PACKAGE_SRC_URL
"
||
exit
1
# Extract the libs package
echo
"Extracting the archive ..."
...
...
libraries/FS/src/FS.cpp
View file @
7cf353bd
...
...
@@ -300,6 +300,14 @@ bool FS::rmdir(const String &path)
return
rmdir
(
path
.
c_str
());
}
const
char
*
FS
::
mountpoint
()
{
if
(
!
_impl
)
{
return
NULL
;
}
return
_impl
->
mountpoint
();
}
void
FSImpl
::
mountpoint
(
const
char
*
mp
)
{
...
...
libraries/FS/src/FS.h
View file @
7cf353bd
...
...
@@ -110,6 +110,8 @@ public:
bool
rmdir
(
const
char
*
path
);
bool
rmdir
(
const
String
&
path
);
const
char
*
mountpoint
();
protected:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment