fffc_filesystem Module

文件系统



Contents


Interfaces

interface

  • public module function is_windows()

    Arguments

    None

    Return Value logical

interface

  • public module function exists(file, is_directory)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: file
    logical, intent(in), optional :: is_directory

    Return Value logical

interface

  • public module function countlines(file)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: file

    Return Value integer

interface

  • public pure module function unix_path(path)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: path

    Return Value character(len=len)

interface

  • public pure module function dirname(path) result(dir)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: path

    Return Value character(len=:), allocatable

interface

  • public pure module function basename(path) result(base)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: path

    Return Value character(len=:), allocatable

interface

  • public module subroutine mkdir(path)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: path

interface

  • public module subroutine rmdir(path)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: path

public interface operator(.join.)

  • public module function join(path, name)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: path
    character(len=*), intent(in) :: name

    Return Value character(len=len)