Commit e0ee2110 authored by Siebers, Michael's avatar Siebers, Michael
Browse files

fix typos

parent 5a8121f4
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* - media_type": "img": the media type of the file * - media_type": "img": the media type of the file
* *
* *
* For a _directory_ the following information is avalable: * For a _directory_ the following information is available:
* - abs_path (atom): the absolute path of the file * - abs_path (atom): the absolute path of the file
* - creation_time (integer): the time the file was created as seconds since * - creation_time (integer): the time the file was created as seconds since
* epoch (1970-07-07) * epoch (1970-07-07)
...@@ -59,7 +59,7 @@ directory(Item) :- theory_bg:item(Item, Dict), is_dict(Dict,directory). ...@@ -59,7 +59,7 @@ directory(Item) :- theory_bg:item(Item, Dict), is_dict(Dict,directory).
%! in_directory(+Item,?Directory) is semidet. %! in_directory(+Item,?Directory) is semidet.
% %
% Extracts the base directory of an item. Only holds if the base directory is % Extracts the base directory of an item. Only holds if the base directory is
% Also in the background knowledge. % also in the background knowledge.
in_directory(Item, Directory) :- in_directory(Item, Directory) :-
abs_path(Item, ItemPath), abs_path(Item, ItemPath),
ItemPath \= '/', % Per POSIX definition '/' is in path '/'. ItemPath \= '/', % Per POSIX definition '/' is in path '/'.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment