MCPcopy Create free account

hub / github.com/abramisola/go-coreutils / functions

Functions275 in github.com/abramisola/go-coreutils

↓ 1 callersFunctiondefaultMode
The default printing mode
stat/stat.go:199
↓ 1 callersFunctiondereferenceCheck
If the file is a symbolic link, check if dereference mode is enabled. If dereference mode is enabled, only the path of the symbolic link is printed. I
stat/stat.go:181
↓ 1 callersFunctionextend
(slice []string, element string)
mkdir/mkdir.go:53
↓ 1 callersFunctionfileIsNotHidden
Checks if the file can be shown
ls/lswin.go:221
↓ 1 callersFunctionfileIsNotHidden
Checks if the file can be shown
ls/ls.go:175
↓ 1 callersFunctiongetAdditionalFileStat
Obtains all file statistics information
stat/stat.go:75
↓ 1 callersFunctiongetAllPaths
(dir string)
mkdir/mkdir.go:65
↓ 1 callersFunctiongetCharacterIndex
Returns the index value of the position of the first occurence of a character.
expr/expr.go:291
↓ 1 callersFunctiongetColorizedList
Obtains a list of colorized and spaced names for printTopToBottom.
ls/lswin.go:770
↓ 1 callersFunctiongetColorizedList
Obtains a list of colorized and spaced names for printTopToBottom.
ls/ls.go:701
↓ 1 callersFunctiongetConWinSize
()
ls/lswin.go:147
↓ 1 callersFunctiongetConsoleScreenBufferInfo
(hCon syscall.Handle)
ls/lswin.go:188
↓ 1 callersFunctiongetFileLengthList
Obtains a list of file character lengths.
ls/lswin.go:400
↓ 1 callersFunctiongetFileLengthList
Obtains a list of file character lengths.
ls/ls.go:313
↓ 1 callersFunctiongetFileSize
Obtains a list of file sizes.
ls/lswin.go:366
↓ 1 callersFunctiongetFileSize
Obtains a list of file sizes.
ls/ls.go:305
↓ 1 callersFunctiongetFileStat
Obtain file statistics
stat/stat.go:65
↓ 1 callersFunctiongetFileStats
Obtain lists of file information
ls/lswin.go:542
↓ 1 callersFunctiongetFileStats
Obtain lists of file information
ls/ls.go:473
↓ 1 callersFunctiongetGroupList
Obtains a list of group names
ls/lswin.go:387
↓ 1 callersFunctiongetGroupList
Obtains a list of group names
ls/ls.go:278
↓ 1 callersFunctiongetLastRowCount
Returns the number of files on the last row
ls/lswin.go:495
↓ 1 callersFunctiongetLastRowCount
Returns the number of files on the last row
ls/ls.go:426
↓ 1 callersFunctiongetLongModeLayout
Returns the printing layout for long mode.
ls/lswin.go:647
↓ 1 callersFunctiongetLongModeLayout
Returns the printing layout for long mode.
ls/ls.go:578
↓ 1 callersFunctiongetMaxCharacterLength
Determines the character length of the longest file name.
ls/lswin.go:421
↓ 1 callersFunctiongetMaxCharacterLength
Determines the character length of the longest file name.
ls/ls.go:352
↓ 1 callersFunctiongetMaxColumns
Returns the maximum number of columns to print
ls/lswin.go:485
↓ 1 callersFunctiongetMaxColumns
Returns the maximum number of columns to print
ls/ls.go:416
↓ 1 callersFunctiongetModDateList
Obtains a list of formatted file modification dates.
ls/lswin.go:318
↓ 1 callersFunctiongetModDateList
Obtains a list of formatted file modification dates.
ls/ls.go:331
↓ 1 callersFunctiongetModeTypeList
Obtains a list of mode types in string format.
ls/lswin.go:413
↓ 1 callersFunctiongetModeTypeList
Obtains a list of mode types in string format.
ls/ls.go:344
↓ 1 callersFunctiongetModificationTime
getModificationTime returns the modification time of the file.
date/date.go:88
↓ 1 callersFunctiongetModifierSlice
Returns a slice of modifier arguments.
expr/expr.go:110
↓ 1 callersFunctiongetNumOfFiles
Returns the number of files to print
ls/lswin.go:490
↓ 1 callersFunctiongetNumOfFiles
Returns the number of files to print
ls/ls.go:421
↓ 1 callersFunctiongetNumber
* getNumber parses the input number in string format and returns the value * as a number if it really is a number -- else returns an error. */
factor/factor.go:84
↓ 1 callersFunctiongetOS
Returns the operating system name. TODO: Add additional operating systems.
uname/uname.go:110
↓ 1 callersFunctiongetProcessorName
getProcessorName returns the processor name.
uname/uname.go:125
↓ 1 callersFunctiongetReference
getReference creates an os.FileInfo of the reference file and returns it.
date/date.go:128
↓ 1 callersFunctiongetSizeString
Returns the file size in either human or non-human-readable format
ls/lswin.go:352
↓ 1 callersFunctiongetSizeString
Returns the file size in either human or non-human-readable format
ls/ls.go:291
↓ 1 callersMethodgetStats
processStats will process the input buffer and append the obtained stats to the wcstat struct.
wc/wc.go:157
↓ 1 callersFunctiongetStdin
getStdin will get input from stdin if there are no file arguments for tail.
head/head.go:130
↓ 1 callersFunctiongetStdin
getStdin will get input from stdin if there are no file arguments for tail.
tail/tail.go:135
↓ 1 callersFunctiongetStringLength
Returns the length of the string
expr/expr.go:286
↓ 1 callersFunctiongetSubstring
Returns a substring containing only the characters in the input range.
expr/expr.go:296
↓ 1 callersFunctiongetSystemInfo
getSystemInfo returns a sysinfo struct containing system information.
uname/uname.go:134
↓ 1 callersFunctiongetTerminalWidth
Obtains the current width of the terminal.
ls/lswin.go:139
↓ 1 callersFunctiongetTerminalWidth
Obtains the current width of the terminal.
ls/ls.go:139
↓ 1 callersFunctiongetTime
getTime returns the current time in either the default time zone or UTC.
date/date.go:79
↓ 1 callersFunctiongetTopToBottomOrder
Returns the printing order based on the number of files and maximum column width.
ls/lswin.go:517
↓ 1 callersFunctiongetTopToBottomOrder
Returns the printing order based on the number of files and maximum column width.
ls/ls.go:448
↓ 1 callersFunctiongetUserList
Obtains a list of user names
ls/lswin.go:374
↓ 1 callersFunctiongetUserList
Obtains a list of user names
ls/ls.go:265
↓ 1 callersFunctiongetValueSlice
Returns a slice of value arguments.
expr/expr.go:99
↓ 1 callersFunctiongroups
TODO: Reading /etc/group because user.LookupGroup is not yet implemented: https://github.com/golang/go/issues/2617
groups/groups.go:77
↓ 1 callersFunctionindexCounter
Increases index count in printTopToBottom based on current position. The index must take into account the fact that the last row needs files to print
ls/lswin.go:508
↓ 1 callersFunctionindexCounter
Increases index count in printTopToBottom based on current position. The index must take into account the fact that the last row needs files to print
ls/ls.go:439
↓ 1 callersMethodisAcyclic
()
tsort/tsort.go:122
↓ 1 callersFunctionisInequalitySymbol
Return true if the current modifier is an inequality symbol.
expr/expr.go:120
↓ 1 callersFunctionlongModePrinter
Prints files in long mode
ls/lswin.go:676
↓ 1 callersFunctionlongModePrinter
Prints files in long mode
ls/ls.go:607
↓ 1 callersFunctionlookupGroupID
Returns the groupname associated to a group ID
ls/lswin.go:339
↓ 1 callersFunctionlookupGroupID
Returns the groupname associated to a group ID
ls/ls.go:252
↓ 1 callersFunctionlookupGroupID
Returns the groupname associated to a group ID
stat/stat.go:132
↓ 1 callersFunctionlookupUserID
Returns the username associated to a user ID
ls/lswin.go:326
↓ 1 callersFunctionlookupUserID
Returns the username associated to a user ID
ls/ls.go:239
↓ 1 callersFunctionlookupUserID
Returns the username associated to a user ID
stat/stat.go:117
↓ 1 callersMethodmaxLineLength
maxLineLength determines the maximum line length for the entire file. NOTE: GNU wc counts by bytes rather than by runes, which is not accurate. It als
wc/wc.go:148
↓ 1 callersFunctionmove_across_devices
(originalLocation, newLocation string)
mv/mv.go:153
↓ 1 callersFunctionmultiFileByteProcessor
multiFileByteProcessor prints the first K bytes of every file.
head/head.go:94
↓ 1 callersFunctionmultiFileByteProcessor
multiFileByteProcessor prints the last K bytes of every file.
tail/tail.go:94
↓ 1 callersFunctionmultiFileLineProcessor
multiFileLineProcessor prints that first K lines of every file.
head/head.go:83
↓ 1 callersFunctionmultiFileLineProcessor
multiFileLineProcessor prints that last K lines of every file.
tail/tail.go:83
↓ 1 callersFunctionmultiFilePrinter
Prints all basenames
basename/basename.go:151
↓ 1 callersFunctionmultipleFiles
multipleFiles will launch the proper function for looping through all files.
head/head.go:150
↓ 1 callersFunctionmultipleFiles
multipleFiles will launch the proper function for looping through all files.
tail/tail.go:155
↓ 1 callersFunctionoccurrenceCounter
occurrenceCounter counts the number of occurrences of occurrenceRef.
wc/wc.go:117
↓ 1 callersFunctiononeFile
oneFile will use the first file argument as an argument for tail.
head/head.go:141
↓ 1 callersFunctiononeFile
oneFile will use the first file argument as an argument for tail.
tail/tail.go:146
↓ 1 callersFunctiononeLinePrinter
Prints all files in one line
ls/lswin.go:692
↓ 1 callersFunctiononeLinePrinter
Prints all files in one line
ls/ls.go:623
↓ 1 callersFunctionopenFile
(s string)
cat/cat.go:41
↓ 1 callersFunctionopenFile
openFile will open the file and check for errors, then return the file
wc/wc.go:83
↓ 1 callersFunctionopenSymlink
Open a symlink
ls/lswin.go:611
↓ 1 callersFunctionopenSymlink
Open a symlink
ls/ls.go:542
↓ 1 callersFunctionprintAllPaths
(slice []string)
mkdir/mkdir.go:81
↓ 1 callersFunctionprintFileName
Checks whether the file is a symbolic link and prints the file name line.
stat/stat.go:190
↓ 1 callersFunctionprintOneLineCheck
Determines if we can print on one line.
ls/lswin.go:478
↓ 1 callersFunctionprintOneLineCheck
Determines if we can print on one line.
ls/ls.go:409
↓ 1 callersFunctionprintSwitch
This switch will determine how we should print.
ls/lswin.go:779
↓ 1 callersFunctionprintSwitch
This switch will determine how we should print.
ls/ls.go:710
↓ 1 callersFunctionprintTopToBottom
Obtains statistics on the files to be printed, checks if printing order should be reversed, and finally prints files based on the printing order.
ls/lswin.go:741
↓ 1 callersFunctionprintTopToBottom
Obtains statistics on the files to be printed, checks if printing order should be reversed, and finally prints files based on the printing order.
ls/ls.go:672
↓ 1 callersFunctionprocessFlags
Check initial state of flags.
expr/expr.go:73
↓ 1 callersFunctionprocessFlags
Check initial state of flags.
ls/lswin.go:112
↓ 1 callersFunctionprocessFlags
Check initial state of flags.
ls/ls.go:112
↓ 1 callersFunctionprocessFlags
If zeroLong is enabled, set zero to enabled.
dirname/dirname.go:48
← previousnext →101–200 of 275, ranked by callers