Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Marsaud Smb2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Marsaud Smb2
Commits
2e932a08
Commit
2e932a08
authored
Jan 16, 2014
by
Benjamin Chelli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename fileExists to exists to match nodejs File System native interface
parent
49f81df4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lib/smb2.js
lib/smb2.js
+5
-5
No files found.
lib/smb2.js
View file @
2e932a08
...
@@ -356,7 +356,7 @@ proto.writeFile = function(src, dest, cb){
...
@@ -356,7 +356,7 @@ proto.writeFile = function(src, dest, cb){
checkDone
();
checkDone
();
}
}
this
.
fileE
xists
(
dest
,
function
(
err
,
exists
){
this
.
e
xists
(
dest
,
function
(
err
,
exists
){
if
(
err
)
cb
&&
cb
(
err
);
if
(
err
)
cb
&&
cb
(
err
);
...
@@ -384,8 +384,8 @@ proto.writeFile = function(src, dest, cb){
...
@@ -384,8 +384,8 @@ proto.writeFile = function(src, dest, cb){
/*
/*
*
fileE
xists
*
e
xists
* ======
===
* ======
*
*
* test the existence of a file
* test the existence of a file
*
*
...
@@ -394,7 +394,7 @@ proto.writeFile = function(src, dest, cb){
...
@@ -394,7 +394,7 @@ proto.writeFile = function(src, dest, cb){
* - close the file
* - close the file
*
*
*/
*/
proto
.
fileE
xists
=
function
(
path
,
cb
){
proto
.
e
xists
=
function
(
path
,
cb
){
var
connection
=
this
;
var
connection
=
this
;
...
@@ -424,7 +424,7 @@ proto.fileExists = function(path, cb){
...
@@ -424,7 +424,7 @@ proto.fileExists = function(path, cb){
proto
.
unlinkFile
=
function
(
path
,
cb
){
proto
.
unlinkFile
=
function
(
path
,
cb
){
var
connection
=
this
;
var
connection
=
this
;
this
.
fileE
xists
(
path
,
function
(
err
,
exists
){
this
.
e
xists
(
path
,
function
(
err
,
exists
){
if
(
err
)
cb
&&
cb
(
err
);
if
(
err
)
cb
&&
cb
(
err
);
...
...
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