Skip to content

Commit 8ab64a3

Browse files
committed
publish: programmatic reqs
1 parent b2f5bcc commit 8ab64a3

38 files changed

+86
-22
lines changed

+stdlib/cpu_arch.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
%% CPU_ARCH get the CPU architecture
2+
% requires: java
23

34
function arch = cpu_arch()
45

+stdlib/cpu_load.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
%% CPU_LOAD get total physical CPU load
2+
% requires: java
3+
%
24
% Returns the "recent cpu usage" for the whole system.
35
%
46
% This value is a double in the [0.0,1.0] interval.

+stdlib/create_symlink.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
%% CREATE_SYMLINK create symbolic link
2+
% optional: mex
23
%
34
%%% Inputs
45
% * target: path to link to

+stdlib/disk_available.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
%% DISK_AVAILABLE disk available space (bytes)
2+
% requires: java
23
%
34
% example: stdlib.disk_available('/')
45
%

+stdlib/disk_capacity.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
%% DISK_CAPACITY disk total capacity (bytes)
2+
% requires: java
23
%
34
% example: stdlib.disk_capacity('/')
45

+stdlib/drop_slash.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
%% DROP_SLASH drop repeated and trailing slash
2+
% optional: mex
23
%
34
% on Windows, if leading double slash, do not drop
45

+stdlib/file_checksum.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
%% FILE_CHECKSUM compute hash of file
2+
% requires: java
3+
%
24
% read in chunks to avoid excessive RAM use
35
%
46
%%% Inputs

+stdlib/filesystem_type.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
%% FILESYSTEM_TYPE tell type of filesystem
2+
% requires: java
23
%
34
% example outputs: ntfs, ext4, apfs, ...
45
%

+stdlib/get_modtime.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
%% GET_MODTIME get path modification time
2+
% requires: java
23
%
34
%%% Inputs
45
% * p: path to examine

+stdlib/get_owner.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
%% GET_OWNER owner of file or directory
2+
% requires: java
23
%
34
%%% Inputs
45
% * p: path to examine

0 commit comments

Comments
 (0)