Skip to content

Commit

Permalink
feat(docstrings): fix docstring template
Browse files Browse the repository at this point in the history
  • Loading branch information
ocehugo committed Oct 26, 2020
1 parent 66cd805 commit 25e10d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Util/Path/basename.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@
% name - a string representing the basename
%
% Examples:
%
% % basename of a file with extension
% assert(strcmp(basename('/tmp/abc.nc'),'abc.nc'))
% % basename of a file without extension
% assert(strcmp(basename('/a/b/c/d'),'d'))
% % basename of a folder is itself
% assert(strcmp(basename('/tmp/'),'/tmp')) % strip away
%
% Author: hugo.oliveira@utas.edu.au
%
% author: hugo.oliveira@utas.edu.au
%

% Copyright (C) 2019, Australian Ocean Data Network (AODN) and Integrated
Expand Down

0 comments on commit 25e10d3

Please sign in to comment.