File System - Resolve (Path Resolving)

Undraw File Manager Re Ms29

About

The resolve function is a algorithm on a file system that return a path from another path.

It is equivalent to the execution of change directory (cd) on every argument but it apply also to file.

Example

resolve('/c','/m','b') = '/m/b'
  • the first argument is executed, the current path is the absolute path /c because it begins with a root character /
  • the second argument is executed, the current path is the absolute path /m because it begins with a root character /
  • the third argument is executed, the current path is the path /m/b because b is a relative path (ie it does not begin with a root character /)





Discover More
Undraw File Manager Re Ms29
File - Change Directory (cd)

Cd is a function or utility that changes the current directory (working directory). bash dos This function implements the resolve function with the first argument being the absolute...
Undraw File Manager Re Ms29
File - File System (filesystem)

A file system (often also written as filesystem) is an application that stores and organizes files and their data (content). Essentially, it organizes these files for storage, organization, manipulation,...
Undraw File Manager Re Ms29
File System - Path

in a file system. A file is identified by its path through the file system. A file path is a hierarchical URI where: scheme is the scheme that represents the file system such as: file (default)...



Share this page:
Follow us:
Task Runner