Skip to content

Commit

Permalink
Merge branch 'master' of github.com:JuliaLang/julia
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Mar 16, 2013
2 parents 1170b37 + 62c9a59 commit b09dfc0
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
26 changes: 26 additions & 0 deletions doc/helpdb.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5473,6 +5473,32 @@ error(Exception)
"),

("Filesystem","Base","isdir","isdir(s) -> Bool
Returns \"true\" if \"s\" is a directory path, \"false\" otherwise.
"),

("Filesystem","Base","isfifo","isfifo(s) -> Bool
Returns \"true\" if \"s\" is a FIFO path, \"false\" otherwise.
"),

("Filesystem","Base","isfile","isfile(s) -> Bool
Returns \"true\" if \"s\" is a regular file path, \"false\"
otherwise.
"),

("Filesystem","Base","islink","islink(s) -> Bool
Returns \"true\" if \"s\" is a symbolic link path, \"false\"
otherwise.
"),

("GLPK","GLPK","set_prob_name","set_prob_name(glp_prob, name)
Assigns a name to the problem object (or deletes it if \"name\" is
Expand Down
22 changes: 22 additions & 0 deletions doc/stdlib/file.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

.. currentmodule:: Base

Filesystem
----------

.. function:: isdir(s) -> Bool

Returns ``true`` if ``s`` is a directory path, ``false`` otherwise.

.. function:: isfifo(s) -> Bool

Returns ``true`` if ``s`` is a FIFO path, ``false`` otherwise.

.. function:: isfile(s) -> Bool

Returns ``true`` if ``s`` is a regular file path, ``false`` otherwise.

.. function:: islink(s) -> Bool

Returns ``true`` if ``s`` is a symbolic link path, ``false`` otherwise.

1 change: 1 addition & 0 deletions doc/stdlib/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Built-ins

base
constants
file
punctuation

****************
Expand Down

0 comments on commit b09dfc0

Please sign in to comment.