diff libinterp/corefcn/utils.cc @ 25781:e04c56bbbace

isdir.m: Make m-file a legacy function (bug #54489) * isdir.m: Note that function is not recommended in docstring. Add 1-time warning about function being obsolete. Add first time BIST test to provoke and suppress warning. * scripts/legacy/module.mk, scripts/miscellaneous/module.mk: Move isdir.m from miscellaneous/ dir to legacy/ dir. * NEWS: Announce change to legacy function. * syscalls.cc (Fstat): Add isfolder to @seealso link. * utils.cc (Fis_absolute_filename, Fis_rooted_relative_filename, Fmake_absolute_filename): Replace isdir with isfolder in @seealso links. * uigetdir.m, uigetfile.m, uiputfile.m, which.m, copyfile.m, mkdir.m, movefile.m, tempdir.m, unpack.m, what.m, __print_parse_opts__.m, compare_plot_demos.m, rundemos.m, runtests.m: Replace instances of isdir with isfolder in core Octave.
author Rik <rik@octave.org>
date Mon, 13 Aug 2018 12:17:58 -0700
parents e6d3f4f9473c
children d6581134daaa
line wrap: on
line diff
--- a/libinterp/corefcn/utils.cc	Mon Aug 13 11:41:17 2018 -0700
+++ b/libinterp/corefcn/utils.cc	Mon Aug 13 12:17:58 2018 -0700
@@ -840,7 +840,7 @@
        doc: /* -*- texinfo -*-
 @deftypefn {} {} is_absolute_filename (@var{file})
 Return true if @var{file} is an absolute filename.
-@seealso{is_rooted_relative_filename, make_absolute_filename, isdir}
+@seealso{is_rooted_relative_filename, make_absolute_filename, isfolder}
 @end deftypefn */)
 {
   if (args.length () != 1)
@@ -861,7 +861,7 @@
        doc: /* -*- texinfo -*-
 @deftypefn {} {} is_rooted_relative_filename (@var{file})
 Return true if @var{file} is a rooted-relative filename.
-@seealso{is_absolute_filename, make_absolute_filename, isdir}
+@seealso{is_absolute_filename, make_absolute_filename, isfolder}
 @end deftypefn */)
 {
   if (args.length () != 1)
@@ -885,7 +885,7 @@
 system.
 
 No check is done for the existence of @var{file}.
-@seealso{canonicalize_file_name, is_absolute_filename, is_rooted_relative_filename, isdir}
+@seealso{canonicalize_file_name, is_absolute_filename, is_rooted_relative_filename, isfolder}
 @end deftypefn */)
 {
   if (args.length () != 1)