Skip to main content

Module dir_cmds

Module dir_cmds 

Source
Expand description

Legacy path command handlers ([MS-CIFS] core/LANMAN set).

FunctionsΒ§

check_dir
CHECK_DIRECTORY (0x10).
civil_from_days πŸ”’
Gregorian civil date from a Unix day number (Howard Hinnant’s civil_from_days algorithm; its era/day constants are canonical to the algorithm).
delete
DELETE (0x06): exact file or wildcard pattern.
join_rel πŸ”’
mkdir
CREATE_DIRECTORY (0x00).
query_info_legacy
QUERY_INFORMATION (0x08): attributes + DOS time + size. QUERY_INFORMATION (0x08): pack size/attributes and the DOS date/time word ([MS-DTYP] Β§2.3.4/5 bit-packing uses fixed calendar/field constants).
read_path πŸ”’
read_two_paths πŸ”’
rename
RENAME (0x07) β€” also used by NT_RENAME level 1.
rmdir
DELETE_DIRECTORY (0x01).
set_info_legacy
SET_INFORMATION (0x09): apply the last-write time (Unix->FILETIME epoch math).
split_pattern_pub
Split a find pattern into (directory, filename-pattern) parts.
unicode πŸ”’
vfs_err πŸ”’