Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
eget
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
eget
Commits
9f41864e
Commit
9f41864e
authored
Apr 10, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eget: fix typos and add comments
parent
c4377f3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
eget
eget
+7
-7
No files found.
eget
View file @
9f41864e
...
@@ -454,7 +454,7 @@ select_ipfs_mode()
...
@@ -454,7 +454,7 @@ select_ipfs_mode()
if
ipfs_check
"
$ipfs_checkQm
"
;
then
if
ipfs_check
"
$ipfs_checkQm
"
;
then
ipfs_mode
=
"brave"
&&
return
ipfs_mode
=
"brave"
&&
return
else
else
info
"Skipped Brave: it is accesible via
$IPFS_CMD
--api
$IPFS_API
, but can't return shared
$ipfs_checkQm
"
info
"Skipped Brave: it is acces
s
ible via
$IPFS_CMD
--api
$IPFS_API
, but can't return shared
$ipfs_checkQm
"
fi
fi
fi
fi
fi
fi
...
@@ -466,7 +466,7 @@ select_ipfs_mode()
...
@@ -466,7 +466,7 @@ select_ipfs_mode()
if
ipfs_check
"
$ipfs_checkQm
"
;
then
if
ipfs_check
"
$ipfs_checkQm
"
;
then
ipfs_mode
=
"local"
&&
return
ipfs_mode
=
"local"
&&
return
else
else
info
"Skipped local: it is accesible via
$IPFS_CMD
--api
$IPFS_API
, but can't return shared
$ipfs_checkQm
"
info
"Skipped local: it is acces
s
ible via
$IPFS_CMD
--api
$IPFS_API
, but can't return shared
$ipfs_checkQm
"
fi
fi
fi
fi
fi
fi
...
@@ -480,7 +480,7 @@ select_ipfs_mode()
...
@@ -480,7 +480,7 @@ select_ipfs_mode()
if
docmd eget
--check
"
$(
dirname
$ipfs_gateway
)
"
;
then
if
docmd eget
--check
"
$(
dirname
$ipfs_gateway
)
"
;
then
info
"IPFS gateway
$ipfs_gateway
is accessible, but can't return shared
$ipfs_checkQm
"
info
"IPFS gateway
$ipfs_gateway
is accessible, but can't return shared
$ipfs_checkQm
"
else
else
info
"IPFS gateway
$(
dirname
ipfs_gateway
)
is not accessible"
info
"IPFS gateway
$(
dirname
$
ipfs_gateway
)
is not accessible"
fi
fi
fi
fi
...
@@ -551,17 +551,17 @@ if [ "$ipfs_mode" = "disabled" ] ; then
...
@@ -551,17 +551,17 @@ if [ "$ipfs_mode" = "disabled" ] ; then
ipfs_get
()
ipfs_get
()
{
{
fatal
"disabled"
fatal
"
IPFS is
disabled"
}
}
ipfs_put
()
ipfs_put
()
{
{
fatal
"disabled"
fatal
"
IPFS is
disabled"
}
}
ipfs_cat
()
ipfs_cat
()
{
{
fatal
"disabled"
fatal
"
IPFS is
disabled"
}
}
...
@@ -597,7 +597,7 @@ ipfs_cat()
...
@@ -597,7 +597,7 @@ ipfs_cat()
ipfs_put
()
ipfs_put
()
{
{
fatal
"
disabl
ed"
fatal
"
IPFS add disabled if a gateway is us
ed"
}
}
elif
[
-z
"
$ipfs_mode
"
]
;
then
elif
[
-z
"
$ipfs_mode
"
]
;
then
:
:
...
...
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